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

Unified Diff: examples/ui/noodles/frame.h

Issue 2011713003: Roll skia to 8cc209111876b7c78b5ec577c9221d8ed5e21024 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | « examples/ui/jank/jank.cc ('k') | examples/ui/noodles/frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ui/noodles/frame.h
diff --git a/examples/ui/noodles/frame.h b/examples/ui/noodles/frame.h
index 6c3858da5c79e3b5cea2130b2c0c21244b01d9ec..77d8f318e7fe9c1a210acac5dde3656546bc1983 100644
--- a/examples/ui/noodles/frame.h
+++ b/examples/ui/noodles/frame.h
@@ -8,7 +8,7 @@
#include "base/macros.h"
#include "mojo/services/geometry/interfaces/geometry.mojom.h"
#include "mojo/services/gfx/composition/interfaces/scenes.mojom.h"
-#include "skia/ext/refptr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
class SkCanvas;
class SkPicture;
@@ -21,7 +21,7 @@ namespace examples {
class Frame {
public:
Frame(const mojo::Size& size,
- skia::RefPtr<SkPicture> picture,
+ sk_sp<SkPicture> picture,
mojo::gfx::composition::SceneMetadataPtr scene_metadata);
~Frame();
@@ -35,7 +35,7 @@ class Frame {
private:
mojo::Size size_;
- skia::RefPtr<SkPicture> picture_;
+ sk_sp<SkPicture> picture_;
mojo::gfx::composition::SceneMetadataPtr scene_metadata_;
DISALLOW_COPY_AND_ASSIGN(Frame);
« no previous file with comments | « examples/ui/jank/jank.cc ('k') | examples/ui/noodles/frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698