Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2721)

Unified Diff: cc/layers/picture_layer_impl.cc

Issue 214593006: Make disable_low_res_tiling independent of is_gpu_rasterization_enable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/layers/picture_layer_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index c85e0c55333059041c7373ed23d2573649a6994a..9dbcb49a2d66386302c3ad67e3e63d87e4d43a61 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -482,8 +482,6 @@ 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();
}

Powered by Google App Engine
This is Rietveld 408576698