Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index c83a68e4a7ec9e6ddbcc552b1d90d8f40019099c..105c3926fbfcfc68c664f064efe289ba2c97f779 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -347,10 +347,9 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) { |
max_page_scale_factor_); |
sync_tree->SetPageScaleDelta(page_scale_delta / sent_page_scale_delta); |
- sync_tree->SetUseGpuRasterization(UseGpuRasterization()); |
- |
sync_tree->PassSwapPromises(&swap_promise_list_); |
+ host_impl->SetUseGpuRasterization(UseGpuRasterization()); |
host_impl->SetViewportSize(device_viewport_size_); |
host_impl->SetOverdrawBottomHeight(overdraw_bottom_height_); |
host_impl->SetDeviceScaleFactor(device_scale_factor_); |
@@ -433,6 +432,7 @@ scoped_ptr<LayerTreeHostImpl> LayerTreeHost::CreateLayerTreeHostImpl( |
rendering_stats_instrumentation_.get(), |
shared_bitmap_manager_, |
id_); |
+ host_impl->SetUseGpuRasterization(UseGpuRasterization()); |
shared_bitmap_manager_ = NULL; |
if (settings_.calculate_top_controls_position && |
host_impl->top_controls_manager()) { |