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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 17550008: Make IsSolidColor() a property on CC scrollbar layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Jochen's comments. Created 7 years, 6 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/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 8d93426f32ea842a2d7d437efc3905d12adae566..6046de044eeb0a1ff8eb2382ff991322163c699d 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -177,7 +177,8 @@ LayerTreeHost::OnCreateAndInitializeOutputSurfaceAttempted(bool success) {
settings_.max_partial_texture_updates = max_partial_texture_updates;
if (!contents_texture_manager_ &&
- (!settings_.impl_side_painting || !settings_.solid_color_scrollbars)) {
+ (!settings_.impl_side_painting ||
+ !settings_.force_solid_color_scrollbars)) {
contents_texture_manager_ =
PrioritizedResourceManager::Create(proxy_.get());
surface_memory_placeholder_ =

Powered by Google App Engine
This is Rietveld 408576698