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

Unified Diff: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h

Issue 2290903002: Change (Pass)RefPtr<SkXxx> into sk_sp<SkXxx>. (Closed)
Patch Set: Rebasing... Created 4 years, 3 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: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
index 119e3dff83256062743011e0cadb7f7ea59aaf7d..9e2da85703f80ed8a88d52af8abc7937500d3043 100644
--- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
+++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
@@ -40,6 +40,7 @@
#include "core/imagebitmap/ImageBitmapOptions.h"
#include "platform/Supplementable.h"
#include "platform/geometry/IntRect.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include <memory>
class SkImage;
@@ -94,7 +95,7 @@ private:
void scheduleAsyncImageBitmapDecoding(DOMArrayBuffer*);
void decodeImageOnDecoderThread(WebTaskRunner*, DOMArrayBuffer*, const String& premultiplyAlphaOption, const String& colorSpaceConversionOption);
- void resolvePromiseOnOriginalThread(PassRefPtr<SkImage>);
+ void resolvePromiseOnOriginalThread(sk_sp<SkImage>);
// FileReaderLoaderClient
void didStartLoading() override { }

Powered by Google App Engine
This is Rietveld 408576698