Index: cc/layers/picture_layer_impl.cc |
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc |
index 23351d7a3fba8e0082577ea486a6ab674e69de50..f198fbb5cee048c096af4774454f6e919514f012 100644 |
--- a/cc/layers/picture_layer_impl.cc |
+++ b/cc/layers/picture_layer_impl.cc |
@@ -99,8 +99,10 @@ scoped_ptr<TilingSetEvictionQueue> PictureLayerImpl::CreateEvictionQueue( |
TreePriority tree_priority) { |
if (!tilings_) |
return make_scoped_ptr(new TilingSetEvictionQueue()); |
- return make_scoped_ptr( |
- new TilingSetEvictionQueue(tilings_.get(), tree_priority)); |
+ bool skip_shared_out_of_order_tiles = |
+ GetPendingOrActiveTwinLayer() != nullptr; |
+ return make_scoped_ptr(new TilingSetEvictionQueue( |
+ tilings_.get(), tree_priority, skip_shared_out_of_order_tiles)); |
} |
scoped_ptr<TilingSetRasterQueue> PictureLayerImpl::CreateRasterQueue( |