Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index b8b02bef8d3f08d61b67003e2e5faf211fa7b79c..6b7d7721889180546677aa2c2255bd83f4a28eb4 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -47,7 +47,6 @@ namespace cc { |
RendererCapabilities::RendererCapabilities() |
: best_texture_format(0), |
using_partial_swap(false), |
- using_accelerated_painting(false), |
using_set_visibility(false), |
using_swap_complete_callback(false), |
using_gpu_memory_manager(false), |
@@ -169,11 +168,6 @@ LayerTreeHost::OnCreateAndInitializeOutputSurfaceAttempted(bool success) { |
if (success) { |
output_surface_lost_ = false; |
- // Update settings_ based on capabilities that we got back from the |
- // renderer. |
- settings_.accelerate_painting = |
- proxy_->GetRendererCapabilities().using_accelerated_painting; |
- |
// Update settings_ based on partial update capability. |
size_t max_partial_texture_updates = 0; |
if (proxy_->GetRendererCapabilities().allow_partial_texture_updates && |