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

Unified Diff: cc/test/skia_common.h

Issue 1900953004: Switch DrawImage to sk_sp<> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Florin's nit 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: cc/test/skia_common.h
diff --git a/cc/test/skia_common.h b/cc/test/skia_common.h
index 3ca97271debf19ffc020d31b4005eb42091ccd5c..2de9e8e931cd9803312b002f5b626c44fd24d1c6 100644
--- a/cc/test/skia_common.h
+++ b/cc/test/skia_common.h
@@ -8,9 +8,8 @@
#include <memory>
#include "base/memory/ref_counted.h"
-#include "skia/ext/refptr.h"
-#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkImage.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
namespace gfx {
class Rect;
@@ -28,7 +27,7 @@ bool AreDisplayListDrawingResultsSame(const gfx::Rect& layer_rect,
scoped_refptr<DisplayItemList> list_a,
scoped_refptr<DisplayItemList> list_b);
-skia::RefPtr<SkImage> CreateDiscardableImage(const gfx::Size& size);
+sk_sp<SkImage> CreateDiscardableImage(const gfx::Size& size);
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698