diff options
author | Romain Guy <romainguy@google.com> | 2011-02-03 15:06:05 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-02-03 16:20:08 -0800 |
commit | 2fc941e4650d618ff6e122f28b616d9032ffa134 (patch) | |
tree | c05148e4502efbb492d93e45386601eab522faa4 /graphics/java | |
parent | ef36255f876aa1a61dcf5e879f4380887dda3854 (diff) | |
download | frameworks_base-2fc941e4650d618ff6e122f28b616d9032ffa134.zip frameworks_base-2fc941e4650d618ff6e122f28b616d9032ffa134.tar.gz frameworks_base-2fc941e4650d618ff6e122f28b616d9032ffa134.tar.bz2 |
Fixes cache misses and extra allocations.
Bug #3421454
Change-Id: If4d5c960a7e4c581a9d213073e658284b4e1c497
Diffstat (limited to 'graphics/java')
-rw-r--r-- | graphics/java/android/graphics/Canvas.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/Canvas.java b/graphics/java/android/graphics/Canvas.java index c1deed3..136e9b4 100644 --- a/graphics/java/android/graphics/Canvas.java +++ b/graphics/java/android/graphics/Canvas.java @@ -104,7 +104,7 @@ public class Canvas { public Canvas() { // 0 means no native bitmap mNativeCanvas = initRaster(0); - mFinalizer = new CanvasFinalizer(0); + mFinalizer = new CanvasFinalizer(mNativeCanvas); } /** |