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

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

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.h
diff --git a/services/gfx/compositor/graph/scene_content.h b/services/gfx/compositor/graph/scene_content.h
index c78f5edff33ada43049d37a03489141d6aebe410..28ac6092a2c4b88cec739d1449f32393aa19d95d 100644
--- a/services/gfx/compositor/graph/scene_content.h
+++ b/services/gfx/compositor/graph/scene_content.h
@@ -59,8 +59,8 @@ class SceneContent : public base::RefCounted<SceneContent> {
// Returns true if this content satisfies a request for the specified version.
bool MatchesVersion(uint32_t requested_version) const;
- // Called to record drawing commands from a snapshot.
- void RecordPicture(const Snapshot* snapshot, SkCanvas* canvas) const;
+ // Paints the content of the scene to a recording canvas.
+ void Paint(const Snapshot* snapshot, SkCanvas* canvas) const;
// Performs a hit test at the specified point.
// The |scene_point| is the hit tested point in the scene's coordinate space.

Powered by Google App Engine
This is Rietveld 408576698