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

Unified Diff: cc/layers/content_layer.cc

Issue 567743003: Fix bad scaling in TiledLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk Created 6 years, 3 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
« no previous file with comments | « no previous file | cc/layers/tiled_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/content_layer.cc
diff --git a/cc/layers/content_layer.cc b/cc/layers/content_layer.cc
index efd4a8af561d053a1987adcfa518186f661eb1e5..8986686e53ecc56e70051747f70470fa47df6bf5 100644
--- a/cc/layers/content_layer.cc
+++ b/cc/layers/content_layer.cc
@@ -115,6 +115,7 @@ void ContentLayer::CreateUpdaterIfNeeded() {
updater_->SetOpaque(contents_opaque());
if (client_)
updater_->SetFillsBoundsCompletely(client_->FillsBoundsCompletely());
+ updater_->SetBackgroundColor(background_color());
SetTextureFormat(
layer_tree_host()->GetRendererCapabilities().best_texture_format);
« no previous file with comments | « no previous file | cc/layers/tiled_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698