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

Unified Diff: chrome/browser/android/thumbnail/thumbnail.cc

Issue 1869753003: Replace many skia::RefPtr with sk_sp<> in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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: chrome/browser/android/thumbnail/thumbnail.cc
diff --git a/chrome/browser/android/thumbnail/thumbnail.cc b/chrome/browser/android/thumbnail/thumbnail.cc
index 0ad9dc748ade9517a94ea1c06a9db593d3fbb5cc..274aa469531180c84d41d7283e2eab46ae96f777 100644
--- a/chrome/browser/android/thumbnail/thumbnail.cc
+++ b/chrome/browser/android/thumbnail/thumbnail.cc
@@ -68,7 +68,7 @@ void Thumbnail::SetBitmap(const SkBitmap& bitmap) {
bitmap_ = cc::UIResourceBitmap(bitmap);
}
-void Thumbnail::SetCompressedBitmap(skia::RefPtr<SkPixelRef> compressed_bitmap,
+void Thumbnail::SetCompressedBitmap(sk_sp<SkPixelRef> compressed_bitmap,
const gfx::Size& content_size) {
DCHECK(compressed_bitmap);
DCHECK(!content_size.IsEmpty());

Powered by Google App Engine
This is Rietveld 408576698