Index: cc/layers/picture_layer_impl.cc |
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc |
index 9ec6fac5c412c7dff2a8c98c38dfecaa0625ad26..8ada9aaf65af011b987e141fb624feba034d4555 100644 |
--- a/cc/layers/picture_layer_impl.cc |
+++ b/cc/layers/picture_layer_impl.cc |
@@ -54,7 +54,8 @@ PictureLayerImpl::PictureLayerImpl(LayerTreeImpl* tree_impl, int id) |
is_using_lcd_text_(tree_impl->settings().can_use_lcd_text), |
needs_post_commit_initialization_(true), |
should_update_tile_priorities_(false), |
- has_gpu_rasterization_hint_(false) {} |
+ has_gpu_rasterization_hint_(false), |
+ should_use_low_res_tiling_(tree_impl->settings().create_low_res_tiling) {} |
PictureLayerImpl::~PictureLayerImpl() {} |
@@ -468,6 +469,8 @@ skia::RefPtr<SkPicture> PictureLayerImpl::GetPicture() { |
void PictureLayerImpl::SetHasGpuRasterizationHint(bool has_hint) { |
bool old_should_use_gpu_rasterization = ShouldUseGpuRasterization(); |
has_gpu_rasterization_hint_ = has_hint; |
+ if (has_gpu_rasterization_hint_) |
+ should_use_low_res_tiling_ = false; |
if (ShouldUseGpuRasterization() != old_should_use_gpu_rasterization) |
RemoveAllTilings(); |
} |