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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp

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.cpp
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp
index 509b35159cdd700e5eb6137071db700a2651cbf0..78f922616c09a59dbd8d640606d8add2e7dd87b2 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.cpp
@@ -11,7 +11,7 @@ namespace blink {
CanvasDrawListener::~CanvasDrawListener() {}
-void CanvasDrawListener::sendNewFrame(WTF::PassRefPtr<SkImage> image)
+void CanvasDrawListener::sendNewFrame(sk_sp<SkImage> image)
{
m_handler->sendNewFrame(image.get());
}

Powered by Google App Engine
This is Rietveld 408576698