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

Unified Diff: ui/compositor/compositor.h

Issue 2776973004: Remove CompositorObserver::OnCompositingEnded() (Closed)
Patch Set: Rename commited_frame_number_ to activated_frame_count_ and move increments back to DidReceiveCompo… Created 3 years, 9 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 | « content/browser/renderer_host/delegated_frame_host.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index f94748b7ff87b257fe7d514caabd7042cde494c1..8416a11cdba83ea4b8a7d77b20d3b59f2adbe041 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -385,7 +385,7 @@ class COMPOSITOR_EXPORT Compositor
}
const cc::FrameSinkId& frame_sink_id() const { return frame_sink_id_; }
- int committed_frame_number() const { return committed_frame_number_; }
+ int activated_frame_count() const { return activated_frame_count_; }
float refresh_rate() const { return refresh_rate_; }
private:
@@ -411,7 +411,7 @@ class COMPOSITOR_EXPORT Compositor
gfx::AcceleratedWidget widget_;
// A sequence number of a current compositor frame for use with metrics.
- int committed_frame_number_;
+ int activated_frame_count_;
// current VSYNC refresh rate per second.
float refresh_rate_;
« no previous file with comments | « content/browser/renderer_host/delegated_frame_host.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698