summaryrefslogtreecommitdiff
path: root/libs/hwui/CanvasProperty.h
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2016-07-21 18:13:31 -0700
committer Chih-Hung Hsieh <chh@google.com> 2016-07-21 18:13:31 -0700
commit05160d70d14180fef3782a63dff2e822b51c3cf5 (patch)
tree4f8f6504761b71975a9c7a3790aef427f275fc8a /libs/hwui/CanvasProperty.h
parent95e42d97f4b5150db2dcf1c26b3b50e6e133d1e4 (diff)
parent5152fd909cf3bb9c7d27f0379f3dc1db619d2b8a (diff)
resolve merge conflicts of 5152fd9 to stage-aosp-master
Change-Id: I2066125eb4076dbc9e8996bb1fa87735aa6040d3
Diffstat (limited to 'libs/hwui/CanvasProperty.h')
-rw-r--r--libs/hwui/CanvasProperty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/CanvasProperty.h b/libs/hwui/CanvasProperty.h
index 6074394d0720..56671bba654b 100644
--- a/libs/hwui/CanvasProperty.h
+++ b/libs/hwui/CanvasProperty.h
@@ -28,7 +28,7 @@ namespace uirenderer {
class CanvasPropertyPrimitive : public VirtualLightRefBase {
PREVENT_COPY_AND_ASSIGN(CanvasPropertyPrimitive);
public:
- CanvasPropertyPrimitive(float initialValue) : value(initialValue) {}
+ explicit CanvasPropertyPrimitive(float initialValue) : value(initialValue) {}
float value;
};
@@ -36,7 +36,7 @@ public:
class CanvasPropertyPaint : public VirtualLightRefBase {
PREVENT_COPY_AND_ASSIGN(CanvasPropertyPaint);
public:
- CanvasPropertyPaint(const SkPaint& initialValue) : value(initialValue) {}
+ explicit CanvasPropertyPaint(const SkPaint& initialValue) : value(initialValue) {}
SkPaint value;
};