diff options
author | 2016-02-06 01:39:34 +0000 | |
---|---|---|
committer | 2016-02-06 01:39:34 +0000 | |
commit | 807842acfacbc12a6ef0234e20ef3f91e669c06f (patch) | |
tree | a7dd12556c57405bc5129c917db91ef6f82d67c9 /libs/hwui/TextDropShadowCache.h | |
parent | 2068bb8bb06303997697ecaaa2e7063835a972b6 (diff) | |
parent | 48a8f431fa52ae2ee25ffba9d20676f03bb710ff (diff) |
Merge "Move several property queries to Properties class"
Diffstat (limited to 'libs/hwui/TextDropShadowCache.h')
-rw-r--r-- | libs/hwui/TextDropShadowCache.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libs/hwui/TextDropShadowCache.h b/libs/hwui/TextDropShadowCache.h index c4f3c5d96786..cf647882e5a7 100644 --- a/libs/hwui/TextDropShadowCache.h +++ b/libs/hwui/TextDropShadowCache.h @@ -148,10 +148,6 @@ public: } /** - * Sets the maximum size of the cache in bytes. - */ - void setMaxSize(uint32_t maxSize); - /** * Returns the maximum size of the cache in bytes. */ uint32_t getMaxSize(); @@ -161,13 +157,11 @@ public: uint32_t getSize(); private: - void init(); - LruCache<ShadowText, ShadowTexture*> mCache; uint32_t mSize; - uint32_t mMaxSize; - FontRenderer* mRenderer; + const uint32_t mMaxSize; + FontRenderer* mRenderer = nullptr; bool mDebugEnabled; }; // class TextDropShadowCache |