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

Unified Diff: ui/aura/env.cc

Issue 12088092: CrOS: Enable threaded UI compositor by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep for enable flag for other platforms. Created 7 years, 8 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 | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/env.cc
diff --git a/ui/aura/env.cc b/ui/aura/env.cc
index 86dbf571a8335bdebd7a3b6a3b2c6f855a43da47..33a6b01866836dfd41652ab51d2ed5e1f1c7b2fb 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -91,9 +91,7 @@ void Env::Init() {
base::MessagePumpAuraX11::Current()->AddObserver(
&device_list_updater_aurax11_);
#endif
- ui::Compositor::Initialize(
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kUIEnableThreadedCompositing));
+ ui::Compositor::Initialize();
}
void Env::NotifyWindowInitialized(Window* window) {
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698