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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 1134123005: cc: split UpdateGpuRasterizationStatus() into two parts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 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/layers/picture_layer_impl_unittest.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index eaedf406c0c0dd66c9314e0741c5558cc1e3fa51..6c4696ee10b47f6602bbadbc194f5c9e03c15b7a 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -330,8 +330,8 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) {
sync_tree->set_top_controls_height(top_controls_height_);
sync_tree->PushTopControlsFromMainThread(top_controls_shown_ratio_);
- host_impl->set_has_gpu_rasterization_trigger(has_gpu_rasterization_trigger_);
- host_impl->set_content_is_suitable_for_gpu_rasterization(
+ host_impl->SetHasGpuRasterizationTrigger(has_gpu_rasterization_trigger_);
+ host_impl->SetContentIsSuitableForGpuRasterization(
content_is_suitable_for_gpu_rasterization_);
RecordGpuRasterizationHistogram();
@@ -434,8 +434,8 @@ scoped_ptr<LayerTreeHostImpl> LayerTreeHost::CreateLayerTreeHostImpl(
settings_, client, proxy_.get(), rendering_stats_instrumentation_.get(),
shared_bitmap_manager_, gpu_memory_buffer_manager_, task_graph_runner_,
id_);
- host_impl->set_has_gpu_rasterization_trigger(has_gpu_rasterization_trigger_);
- host_impl->set_content_is_suitable_for_gpu_rasterization(
+ host_impl->SetHasGpuRasterizationTrigger(has_gpu_rasterization_trigger_);
+ host_impl->SetContentIsSuitableForGpuRasterization(
content_is_suitable_for_gpu_rasterization_);
shared_bitmap_manager_ = NULL;
gpu_memory_buffer_manager_ = NULL;
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698