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

Unified Diff: third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.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/UnacceleratedImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
index 8bd2acd181c6acb0c2c70b7635f00436b20e9d7f..f38859ca0e6831ff45b8b8fb5fcfadc0f0a615b4 100644
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
@@ -32,7 +32,7 @@
#define UnacceleratedImageBufferSurface_h
#include "platform/graphics/ImageBufferSurface.h"
-#include "wtf/RefPtr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
class SkSurface;
@@ -47,7 +47,7 @@ public:
SkCanvas* canvas() override;
bool isValid() const override;
- PassRefPtr<SkImage> newImageSnapshot(AccelerationHint, SnapshotReason) override;
+ sk_sp<SkImage> newImageSnapshot(AccelerationHint, SnapshotReason) override;
private:
sk_sp<SkSurface> m_surface;
};

Powered by Google App Engine
This is Rietveld 408576698