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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImageTest.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/BitmapImageTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp b/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp
index 81180b47db56757d8fe996bcba709a874900a51c..f64acef907f8a5a0ab4075cdbd6467491f6ef572 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp
@@ -76,7 +76,7 @@ public:
// Accessors to BitmapImage's protected methods.
void destroyDecodedData() { m_image->destroyDecodedData(); }
size_t frameCount() { return m_image->frameCount(); }
- PassRefPtr<SkImage> frameAtIndex(size_t index)
+ sk_sp<SkImage> frameAtIndex(size_t index)
{
return m_image->frameAtIndex(index);
}

Powered by Google App Engine
This is Rietveld 408576698