Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index d9cab33cef74c5932c7ae035a5f2fed42b163382..5c7dbd5f0bd414b6ec43912092e00bb3963bafe7 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -348,10 +348,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_); |
@@ -434,6 +433,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()) { |