Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: tools/android/SkBitmapRegionCanvas.h

Issue 1420053010: Make BRD take advantage of zero initialized memory (Closed) Base URL: https://skia.googlesource.com/skia.git@zero-init
Patch Set: Reduce scope of local variable Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/android/SkBitmapRegionCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/SkBitmapRegionCanvas.h
diff --git a/tools/android/SkBitmapRegionCanvas.h b/tools/android/SkBitmapRegionCanvas.h
index f41d5b94847fb78a26e97404128d1fc0ab0fff05..2edbf1ff3bddd9d34eaf7f404a5fcc45afc79ba5 100644
--- a/tools/android/SkBitmapRegionCanvas.h
+++ b/tools/android/SkBitmapRegionCanvas.h
@@ -24,7 +24,7 @@ public:
*/
SkBitmapRegionCanvas(SkCodec* decoder);
- bool decodeRegion(SkBitmap* bitmap, SkBitmap::Allocator* allocator,
+ bool decodeRegion(SkBitmap* bitmap, SkBRDAllocator* allocator,
const SkIRect& desiredSubset, int sampleSize,
SkColorType colorType, bool requireUnpremul) override;
« no previous file with comments | « no previous file | tools/android/SkBitmapRegionCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698