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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageTest.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/svg/graphics/SVGImageTest.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
index a93d44b3daea386fd61ce88c7c6888aa0e05819f..f92b498c52913046d91f9846e7de03b0b2361ddf 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
@@ -29,7 +29,7 @@ public:
void pumpFrame()
{
Image* image = m_image.get();
- RefPtr<SkCanvas> nullCanvas = adoptRef(SkCreateNullCanvas());
+ sk_sp<SkCanvas> nullCanvas(SkCreateNullCanvas());
SkPaint paint;
FloatRect dummyRect(0, 0, 100, 100);
image->draw(

Powered by Google App Engine
This is Rietveld 408576698