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

Unified Diff: gm/mipmap.cpp

Issue 1229933003: add runtime option to provide data->imagegenerator factory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 5 months 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
Index: gm/mipmap.cpp
diff --git a/gm/mipmap.cpp b/gm/mipmap.cpp
index 2d4ee0d26e27e36ace8bfc36faecd721d2c6e08c..ad45a17e86d678b4a3a60b22050ba19891726307 100644
--- a/gm/mipmap.cpp
+++ b/gm/mipmap.cpp
@@ -29,7 +29,7 @@ static SkImage* make_image() {
}
static void test_mip(SkCanvas* canvas) {
- SkAutoTUnref<SkImage> img(make_image());//SkImage::NewFromData(data));
+ SkAutoTUnref<SkImage> img(make_image());//SkImage::NewFromEncoded(data));
SkPaint paint;
const SkRect dst = SkRect::MakeWH(177, 15);
« no previous file with comments | « gm/factory.cpp ('k') | include/core/SkGraphics.h » ('j') | include/core/SkGraphics.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698