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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.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/html/canvas/CanvasDrawListener.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h
index 6a313758be4d4665e4bd02ba2d9c66db5a495e52..04589d4eab41694cee31fe632ea0fa63ec0877cb 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h
@@ -8,7 +8,7 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebCanvasCaptureHandler.h"
-#include "wtf/PassRefPtr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include <memory>
class SkImage;
@@ -18,7 +18,7 @@ namespace blink {
class CORE_EXPORT CanvasDrawListener : public GarbageCollectedMixin {
public:
virtual ~CanvasDrawListener();
- virtual void sendNewFrame(WTF::PassRefPtr<SkImage>);
+ virtual void sendNewFrame(sk_sp<SkImage>);
bool needsNewFrame() const;
void requestFrame();

Powered by Google App Engine
This is Rietveld 408576698