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

Unified Diff: cc/trees/thread_proxy.cc

Issue 16043002: Create content switches for frame scheduling and input manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « cc/trees/thread_proxy.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index c807427b348fbaebf51694a0c5a062824b07a72e..7d7a888ea6a2266cedd32e1c202235d1b9278224 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -60,8 +60,8 @@ ThreadProxy::ThreadProxy(LayerTreeHost* layer_tree_host,
next_frame_is_newly_committed_frame_on_impl_thread_(false),
throttle_frame_production_(
layer_tree_host->settings().throttle_frame_production),
- render_parent_drives_begin_frame__(
- layer_tree_host->settings().render_parent_drives_begin_frame_),
+ begin_frame_scheduling_enabled_(
+ layer_tree_host->settings().begin_frame_scheduling_enabled),
using_synchronous_renderer_compositor_(
layer_tree_host->settings().using_synchronous_renderer_compositor),
vsync_client_(NULL),
@@ -1116,7 +1116,7 @@ void ThreadProxy::InitializeImplOnImplThread(CompletionEvent* completion) {
layer_tree_host_->settings().refresh_rate);
scoped_ptr<FrameRateController> frame_rate_controller;
if (throttle_frame_production_) {
- if (render_parent_drives_begin_frame__) {
+ if (begin_frame_scheduling_enabled_) {
frame_rate_controller.reset(
new FrameRateController(VSyncTimeSource::Create(
this,
@@ -1369,7 +1369,7 @@ void ThreadProxy::StartScrollbarAnimationOnImplThread() {
void ThreadProxy::DidReceiveLastInputEventForBeginFrameOnImplThread(
base::TimeTicks frame_time) {
- if (render_parent_drives_begin_frame__) {
+ if (begin_frame_scheduling_enabled_) {
TRACE_EVENT0("cc",
"ThreadProxy::DidReceiveLastInputEventForBeginFrameOnImplThread");
BeginFrameOnImplThread(frame_time);
« no previous file with comments | « cc/trees/thread_proxy.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698