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

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

Issue 1995873002: Mozart: Improve tracing and backpressure. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: address review comments 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
Index: services/gfx/compositor/graph/scene_content.cc
diff --git a/services/gfx/compositor/graph/scene_content.cc b/services/gfx/compositor/graph/scene_content.cc
index eba6cb923640890c179ed261eaf467416a09cb58..69c4244d9b75b6cef7bfb8c6120516a62f76ebf4 100644
--- a/services/gfx/compositor/graph/scene_content.cc
+++ b/services/gfx/compositor/graph/scene_content.cc
@@ -30,11 +30,10 @@ bool SceneContent::MatchesVersion(uint32_t requested_version) const {
version_ == mojo::gfx::composition::kSceneVersionNone;
}
-void SceneContent::RecordPicture(const Snapshot* snapshot,
- SkCanvas* canvas) const {
+void SceneContent::Paint(const Snapshot* snapshot, SkCanvas* canvas) const {
const Node* root = GetRootNodeIfExists();
if (root)
- root->RecordPicture(this, snapshot, canvas);
+ root->Paint(this, snapshot, canvas);
}
bool SceneContent::HitTest(

Powered by Google App Engine
This is Rietveld 408576698