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

Unified Diff: third_party/WebKit/public/platform/WebImageGenerator.h

Issue 2706453003: switch to new ImageGenerator API (Closed)
Patch Set: fix typo Created 3 years, 10 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 | « third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebImageGenerator.h
diff --git a/third_party/WebKit/public/platform/WebImageGenerator.h b/third_party/WebKit/public/platform/WebImageGenerator.h
index 73cb2e8a899f8e2b89b4a3ef378d1b19afc627a0..53d9e055da6ac9413d8d0963df1650c71b18cf38 100644
--- a/third_party/WebKit/public/platform/WebImageGenerator.h
+++ b/third_party/WebKit/public/platform/WebImageGenerator.h
@@ -31,6 +31,7 @@
#ifndef WebImageGenerator_h
#define WebImageGenerator_h
+#include "SkRefCnt.h"
#include "WebCommon.h"
class SkData;
@@ -40,7 +41,7 @@ namespace blink {
class BLINK_PLATFORM_EXPORT WebImageGenerator {
public:
- static SkImageGenerator* create(SkData*);
+ static std::unique_ptr<SkImageGenerator> create(sk_sp<SkData>);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698