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

Unified Diff: services/gfx/compositor/graph/snapshot.cc

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 | « services/gfx/compositor/graph/nodes.cc ('k') | services/gfx/compositor/graph/transform_pair.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/graph/snapshot.cc
diff --git a/services/gfx/compositor/graph/snapshot.cc b/services/gfx/compositor/graph/snapshot.cc
index b8051bdc81e15abd5712fb8306f28c91aaab6348..876c13e836c43c15245d4982d1bccc6dfba326c5 100644
--- a/services/gfx/compositor/graph/snapshot.cc
+++ b/services/gfx/compositor/graph/snapshot.cc
@@ -8,9 +8,9 @@
#include "mojo/services/gfx/composition/cpp/formatting.h"
#include "mojo/skia/type_converters.h"
#include "services/gfx/compositor/graph/scene_content.h"
+#include "third_party/skia/include/core/SkMatrix44.h"
#include "third_party/skia/include/core/SkPictureRecorder.h"
#include "third_party/skia/include/core/SkRect.h"
-#include "third_party/skia/include/utils/SkMatrix44.h"
namespace compositor {
@@ -35,7 +35,7 @@ scoped_refptr<RenderFrame> Snapshot::Paint(
recorder.beginRecording(SkRect::Make(sk_viewport));
root_scene_content_->Paint(this, recorder.getRecordingCanvas());
return new RenderFrame(metadata, sk_viewport,
- skia::AdoptRef(recorder.endRecordingAsPicture()));
+ recorder.finishRecordingAsPicture());
}
void Snapshot::HitTest(const mojo::PointF& point,
« no previous file with comments | « services/gfx/compositor/graph/nodes.cc ('k') | services/gfx/compositor/graph/transform_pair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698