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

Unified Diff: tools/android/SkBitmapRegionDecoder.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 | « tools/android/SkBitmapRegionCodec.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/SkBitmapRegionDecoder.h
diff --git a/tools/android/SkBitmapRegionDecoder.h b/tools/android/SkBitmapRegionDecoder.h
index 294adc3df1a7302d19087a42c04652e764239963..575ad9dc01a1c5ab538d339537ce1d4f536ab163 100644
--- a/tools/android/SkBitmapRegionDecoder.h
+++ b/tools/android/SkBitmapRegionDecoder.h
@@ -9,6 +9,7 @@
#define SkBitmapRegionDecoder_DEFINED
#include "SkBitmap.h"
+#include "SkBRDAllocator.h"
#include "SkEncodedFormat.h"
#include "SkStream.h"
@@ -58,7 +59,7 @@ public:
* alpha type to use.
*
*/
- virtual bool decodeRegion(SkBitmap* bitmap, SkBitmap::Allocator* allocator,
+ virtual bool decodeRegion(SkBitmap* bitmap, SkBRDAllocator* allocator,
const SkIRect& desiredSubset, int sampleSize,
SkColorType colorType, bool requireUnpremul) = 0;
/*
« no previous file with comments | « tools/android/SkBitmapRegionCodec.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698