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

Unified Diff: gm/factory.cpp

Issue 93703004: Change SkDecodingImageGenerator API (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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 | resources/encoding/randPixels.bmp » ('j') | src/images/SkDecodingImageGenerator.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/factory.cpp
diff --git a/gm/factory.cpp b/gm/factory.cpp
index 19eb63be0c87206ec54f262ea1e1326f6546da64..4c38398436f91c5456d68409c3863971f6d6c924 100644
--- a/gm/factory.cpp
+++ b/gm/factory.cpp
@@ -35,8 +35,8 @@ protected:
// bitmap is unlocked.
SkAutoTUnref<SkDiscardableMemoryPool> pool(
SkNEW_ARGS(SkDiscardableMemoryPool, (1)));
- SkAssertResult(SkDecodingImageGenerator::Install(data,
- &fBitmap, pool));
+ SkAssertResult(
+ SkDecodingImageGenerator::Install(data, &fBitmap, NULL, pool));
}
}
« no previous file with comments | « no previous file | resources/encoding/randPixels.bmp » ('j') | src/images/SkDecodingImageGenerator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698