summaryrefslogtreecommitdiff
path: root/libs/ui/Region.cpp
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2016-04-28 09:14:32 -0700
committer Chih-Hung Hsieh <chh@google.com> 2016-04-28 09:14:32 -0700
commit68a593e7fa07c947fef2c5de53c42e14ed630a8a (patch)
tree6ae7a67ecfddd080d915a6a3de6f98bfe54a33c4 /libs/ui/Region.cpp
parent53925d208ade2f844f018ed2ca0fb042ce7db85d (diff)
parent168dc86c261bd7770b99b1803a769eb658f13f96 (diff)
resolve merge conflicts of 168dc86 to nyc-dev-plus-aosp
Change-Id: I1554cec6ea880a87921f723bc96972cb8e1d3c5c
Diffstat (limited to 'libs/ui/Region.cpp')
-rw-r--r--libs/ui/Region.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/Region.cpp b/libs/ui/Region.cpp
index 0a86ead11d..246346bb34 100644
--- a/libs/ui/Region.cpp
+++ b/libs/ui/Region.cpp
@@ -424,7 +424,7 @@ class Region::rasterizer : public region_operator<Rect>::region_rasterizer
Vector<Rect> span;
Rect* cur;
public:
- rasterizer(Region& reg)
+ explicit rasterizer(Region& reg)
: bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
storage.clear();
}