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

Unified Diff: cc/scheduler/frame_rate_controller.cc

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix test compiler errors Created 7 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: cc/scheduler/frame_rate_controller.cc
diff --git a/cc/scheduler/frame_rate_controller.cc b/cc/scheduler/frame_rate_controller.cc
index 4e523d782c1d3ab1618732922b85ff0e01171602..41e2b09ec5c917ddb0fcea01d46c7562fe77dfe2 100644
--- a/cc/scheduler/frame_rate_controller.cc
+++ b/cc/scheduler/frame_rate_controller.cc
@@ -98,10 +98,10 @@ void FrameRateController::OnTimerTick() {
// Check if we have too many frames in flight.
bool throttled =
max_frames_pending_ && num_frames_pending_ >= max_frames_pending_;
- TRACE_COUNTER_ID1("cc", "ThrottledVSyncInterval", thread_, throttled);
+ TRACE_COUNTER_ID1("cc", "ThrottledCompositor", thread_, throttled);
if (client_)
- client_->VSyncTick(throttled);
+ client_->BeginFrame(throttled);
if (swap_buffers_complete_supported_ && !is_time_source_throttling_ &&
!throttled)

Powered by Google App Engine
This is Rietveld 408576698