diff options
| author | Romain Guy <romainguy@google.com> | 2010-08-17 11:37:00 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2010-08-17 11:37:00 -0700 |
| commit | 1d83e1981c8b89da93dff37a4f8b2b1ad8480b44 (patch) | |
| tree | 84e1106e4f55d13b9398658f6e639b18f4a9c9c1 /libs/hwui/TextDropShadowCache.h | |
| parent | 0a41749953f35d33f61b3119e3161a82bb5fa59e (diff) | |
| download | frameworks_base-1d83e1981c8b89da93dff37a4f8b2b1ad8480b44.zip frameworks_base-1d83e1981c8b89da93dff37a4f8b2b1ad8480b44.tar.gz frameworks_base-1d83e1981c8b89da93dff37a4f8b2b1ad8480b44.tar.bz2 | |
Correctly set the viewport in layers.
Bug #2919295
Change-Id: I16ce79ab0d5747cb01c6c1abe531da3dfd93fb54
Diffstat (limited to 'libs/hwui/TextDropShadowCache.h')
| -rw-r--r-- | libs/hwui/TextDropShadowCache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/TextDropShadowCache.h b/libs/hwui/TextDropShadowCache.h index 9c86187..5fbe9e5 100644 --- a/libs/hwui/TextDropShadowCache.h +++ b/libs/hwui/TextDropShadowCache.h @@ -47,7 +47,7 @@ struct ShadowText { ShadowText(const ShadowText& shadow): paint(shadow.paint), radius(shadow.radius), len(shadow.len), hash(shadow.hash) { - text = new char[len]; + text = new char[shadow.len]; memcpy(text, shadow.text, shadow.len); } |
