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

Unified Diff: third_party/WebKit/Source/platform/graphics/GeneratedImage.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/platform/graphics/GeneratedImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
index fadc7551fe81729c111f2b9ddcca42ba45b21324..330bd7b258303e936b7f521c7967461f738c44ce 100644
--- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
+++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
@@ -28,7 +28,7 @@
#include "platform/geometry/IntSize.h"
#include "platform/graphics/Image.h"
-#include "wtf/RefPtr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
namespace blink {
@@ -44,7 +44,7 @@ public:
// Assume that generated content has no decoded data we need to worry about
void destroyDecodedData() override { }
- PassRefPtr<SkImage> imageForCurrentFrame() override;
+ sk_sp<SkImage> imageForCurrentFrame() override;
protected:
void drawPattern(GraphicsContext&, const FloatRect&,

Powered by Google App Engine
This is Rietveld 408576698