diff options
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 |
commit | 05160d70d14180fef3782a63dff2e822b51c3cf5 (patch) | |
tree | 4f8f6504761b71975a9c7a3790aef427f275fc8a /libs/hwui/TextDropShadowCache.h | |
parent | 95e42d97f4b5150db2dcf1c26b3b50e6e133d1e4 (diff) | |
parent | 5152fd909cf3bb9c7d27f0379f3dc1db619d2b8a (diff) |
resolve merge conflicts of 5152fd9 to stage-aosp-master
Change-Id: I2066125eb4076dbc9e8996bb1fa87735aa6040d3
Diffstat (limited to 'libs/hwui/TextDropShadowCache.h')
-rw-r--r-- | libs/hwui/TextDropShadowCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/TextDropShadowCache.h b/libs/hwui/TextDropShadowCache.h index d536c40756ff..13e87749029a 100644 --- a/libs/hwui/TextDropShadowCache.h +++ b/libs/hwui/TextDropShadowCache.h @@ -111,7 +111,7 @@ inline hash_t hash_type(const ShadowText& entry) { * Alpha texture used to represent a shadow. */ struct ShadowTexture: public Texture { - ShadowTexture(Caches& caches): Texture(caches) { + explicit ShadowTexture(Caches& caches): Texture(caches) { } float left; @@ -121,7 +121,7 @@ struct ShadowTexture: public Texture { class TextDropShadowCache: public OnEntryRemoved<ShadowText, ShadowTexture*> { public: TextDropShadowCache(); - TextDropShadowCache(uint32_t maxByteSize); + explicit TextDropShadowCache(uint32_t maxByteSize); ~TextDropShadowCache(); /** |