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

Unified Diff: ui/base/cocoa/underlay_opengl_hosting_window.mm

Issue 203573005: Disable CoreAnimation by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « content/browser/renderer_host/compositing_iosurface_context_mac.mm ('k') | ui/base/ui_base_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/underlay_opengl_hosting_window.mm
diff --git a/ui/base/cocoa/underlay_opengl_hosting_window.mm b/ui/base/cocoa/underlay_opengl_hosting_window.mm
index 39a30360441412d7b0852c43f87022902e5ae004..4e208360cd8c993b543f40ac1cbc5ca9ddb044bd 100644
--- a/ui/base/cocoa/underlay_opengl_hosting_window.mm
+++ b/ui/base/cocoa/underlay_opengl_hosting_window.mm
@@ -33,8 +33,8 @@
namespace {
bool CoreAnimationIsEnabled() {
- static bool is_enabled = !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableCoreAnimation);
+ static bool is_enabled = CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableCoreAnimation);
return is_enabled;
}
« no previous file with comments | « content/browser/renderer_host/compositing_iosurface_context_mac.mm ('k') | ui/base/ui_base_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698