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

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

Issue 1869753003: Replace many skia::RefPtr with sk_sp<> in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Florin's nits 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
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_tiles.cc ('k') | chrome/browser/android/thumbnail/thumbnail.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/thumbnail/thumbnail.h
diff --git a/chrome/browser/android/thumbnail/thumbnail.h b/chrome/browser/android/thumbnail/thumbnail.h
index f443bec6b7c70682de42566ddb6571829a5a9e14..2792243878c614235d4bf9b9970d86f1592c0369 100644
--- a/chrome/browser/android/thumbnail/thumbnail.h
+++ b/chrome/browser/android/thumbnail/thumbnail.h
@@ -10,6 +10,7 @@
#include "base/time/time.h"
#include "cc/resources/ui_resource_bitmap.h"
#include "cc/resources/ui_resource_client.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "ui/gfx/geometry/size_f.h"
namespace base {
@@ -52,7 +53,7 @@ class Thumbnail : public cc::UIResourceClient {
const gfx::SizeF& scaled_data_size() const { return scaled_data_size_; }
void SetBitmap(const SkBitmap& bitmap);
- void SetCompressedBitmap(skia::RefPtr<SkPixelRef> compressed_bitmap,
+ void SetCompressedBitmap(sk_sp<SkPixelRef> compressed_bitmap,
const gfx::Size& content_size);
void CreateUIResource();
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_tiles.cc ('k') | chrome/browser/android/thumbnail/thumbnail.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698