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

Unified Diff: cc/test/fake_content_layer_client.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: 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: cc/test/fake_content_layer_client.h
diff --git a/cc/test/fake_content_layer_client.h b/cc/test/fake_content_layer_client.h
index 198c41451b27d65091c5448422c5faccc644b853..c68d6814722e8171ee2ad1e5f09f9072819474ba 100644
--- a/cc/test/fake_content_layer_client.h
+++ b/cc/test/fake_content_layer_client.h
@@ -12,6 +12,7 @@
#include "base/compiler_specific.h"
#include "cc/layers/content_layer_client.h"
+#include "skia/ext/refptr.h"
danakj 2016/04/14 19:37:32 ?
tomhudson 2016/04/25 20:48:15 Done.
#include "third_party/skia/include/core/SkPaint.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
@@ -32,7 +33,7 @@ class FakeContentLayerClient : public ContentLayerClient {
const SkPaint& paint);
ImageData(const ImageData& other);
~ImageData();
- skia::RefPtr<const SkImage> image;
+ sk_sp<const SkImage> image;
gfx::Point point;
gfx::Transform transform;
SkPaint paint;

Powered by Google App Engine
This is Rietveld 408576698