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

Unified Diff: ui/compositor/compositor.cc

Issue 684543006: cc: Toggle LCD text at raster time instead of record time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcdraster: initvar Created 6 years, 1 month 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: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index e85c5790536e2394e81874bdf0740fbb8ececd39..607a8ea8efc933e5aeda34a5497f19560fd2814e 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -90,6 +90,10 @@ Compositor::Compositor(gfx::AcceleratedWidget widget,
CommandLine* command_line = CommandLine::ForCurrentProcess();
cc::LayerTreeSettings settings;
+ // When impl-side painting is enabled, this will ensure PictureLayers always
+ // can have LCD text, to match the previous behaviour with ContentLayers,
+ // where LCD-not-allowed notifications were ignored.
+ settings.layers_always_allowed_lcd_text = true;
settings.refresh_rate =
context_factory_->DoesCreateTestContexts()
? kTestRefreshRate

Powered by Google App Engine
This is Rietveld 408576698