diff options
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(); /** |