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

Unified Diff: experimental/fiddle/fiddle_main.h

Issue 1895103002: experimental/fiddle: update to new SkImage API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | experimental/fiddle/fiddle_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/fiddle/fiddle_main.h
diff --git a/experimental/fiddle/fiddle_main.h b/experimental/fiddle/fiddle_main.h
index ab2aa8b5ab8ac58e4abbdf4e5e191e659e9d4fb5..6330384530cc813f0546bba3c202bb04270ad028 100644
--- a/experimental/fiddle/fiddle_main.h
+++ b/experimental/fiddle/fiddle_main.h
@@ -10,7 +10,7 @@
#include "skia.h"
extern SkBitmap source;
-extern SkImage* image;
+extern sk_sp<SkImage> image;
struct DrawOptions {
DrawOptions(int w, int h, bool r, bool g, bool p, bool k, const char* s)
« no previous file with comments | « no previous file | experimental/fiddle/fiddle_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698