diff options
author | John Reck <jreck@google.com> | 2015-05-07 13:50:55 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-05-07 13:50:55 -0700 |
commit | 98ae4dfbbc2bf5d61786674dd75127eb4ca238e9 (patch) | |
tree | fb0bc0e981ad5908d43f6e2549829c2902d391a4 | |
parent | ff357a9cd4b6faffcad428973fef3ddd1d27b22d (diff) | |
download | frameworks_base-98ae4dfbbc2bf5d61786674dd75127eb4ca238e9.zip frameworks_base-98ae4dfbbc2bf5d61786674dd75127eb4ca238e9.tar.gz frameworks_base-98ae4dfbbc2bf5d61786674dd75127eb4ca238e9.tar.bz2 |
Fix build
Change-Id: I233f943041ce46b0d69e0e2f5e0dcda9aa9b7d4b
-rw-r--r-- | libs/hwui/DisplayListCanvas.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/DisplayListCanvas.h b/libs/hwui/DisplayListCanvas.h index 7f8ae72..d997ef4 100644 --- a/libs/hwui/DisplayListCanvas.h +++ b/libs/hwui/DisplayListCanvas.h @@ -350,7 +350,7 @@ private: // correctly, such as creating the bitmap from scratch, drawing with it, changing its // contents, and drawing again. The only fix would be to always copy it the first time, // which doesn't seem worth the extra cycles for this unlikely case. - const SkBitmap* localBitmap = new (alloc()) SkBitmap(bitmap); + SkBitmap* localBitmap = new (alloc()) SkBitmap(bitmap); alloc().autoDestroy(localBitmap); mDisplayListData->bitmapResources.push_back(localBitmap); return localBitmap; |