Index: cc/layers/picture_layer_impl.cc |
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc |
index 04aee7313d5f84df46b8d8494bb46450550d82e9..3dbce3cb6dab0bb1327dfb34bb0811fbccc7b8b6 100644 |
--- a/cc/layers/picture_layer_impl.cc |
+++ b/cc/layers/picture_layer_impl.cc |
@@ -143,6 +143,11 @@ |
layer_impl->low_res_raster_contents_scale_ = low_res_raster_contents_scale_; |
layer_impl->SanityCheckTilingState(); |
+ |
+ // We always need to push properties. |
+ // See http://crbug.com/303943 |
+ // TODO(danakj): Stop always pushing properties since we don't swap tilings. |
+ needs_push_properties_ = true; |
} |
void PictureLayerImpl::AppendQuads(RenderPass* render_pass, |
@@ -557,10 +562,6 @@ |
if (could_have_tilings != can_have_tilings) |
layer_tree_impl()->set_needs_update_draw_properties(); |
- // SetNeedsPushProperties when changing the raster source. This shouldn't |
- // imply damage but need to be synced. |
- SetNeedsPushProperties(); |
- |
if (!can_have_tilings) { |
RemoveAllTilings(); |
return; |
@@ -653,12 +654,6 @@ |
bool PictureLayerImpl::RequiresHighResToDraw() const { |
return layer_tree_impl()->RequiresHighResToDraw(); |
-} |
- |
-void PictureLayerImpl::TilingLiveRectChanged() { |
- // SetNeedsPushProperties when the live rect changes, as there are new tiles |
- // on the tree. This shouldn't imply damage but need to be synced. |
- SetNeedsPushProperties(); |
} |
gfx::Size PictureLayerImpl::CalculateTileSize( |