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

Unified Diff: chrome/browser/ui/cocoa/nsview_additions.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 | « chrome/browser/ui/cocoa/fast_resize_view.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/nsview_additions.mm
diff --git a/chrome/browser/ui/cocoa/nsview_additions.mm b/chrome/browser/ui/cocoa/nsview_additions.mm
index 6d8ed4b10b3f4dd83d11fff6d1290032b6b56432..df853534c42bc66cde11ebdd4168f529b2b3852c 100644
--- a/chrome/browser/ui/cocoa/nsview_additions.mm
+++ b/chrome/browser/ui/cocoa/nsview_additions.mm
@@ -91,8 +91,8 @@
}
- (void)cr_setWantsLayer:(BOOL)wantsLayer {
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableCoreAnimation))
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableCoreAnimation))
return;
// Dynamically removing layers on SnowLeopard will sometimes result in
« no previous file with comments | « chrome/browser/ui/cocoa/fast_resize_view.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698