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

Unified Diff: third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.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/platform/graphics/DrawLooperBuilder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
index 018d193265b35d7b0e863e15efed436f0a048856..30c2551d6d93603f35cd055dbfd0d73e0c128557 100644
--- a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
@@ -54,9 +54,9 @@ std::unique_ptr<DrawLooperBuilder> DrawLooperBuilder::create()
return wrapUnique(new DrawLooperBuilder);
}
-PassRefPtr<SkDrawLooper> DrawLooperBuilder::detachDrawLooper()
+sk_sp<SkDrawLooper> DrawLooperBuilder::detachDrawLooper()
{
- return fromSkSp(m_skDrawLooperBuilder.detach());
+ return m_skDrawLooperBuilder.detach();
}
void DrawLooperBuilder::addUnmodifiedContent()

Powered by Google App Engine
This is Rietveld 408576698