Index: ui/base/cocoa/remote_layer_api.mm |
diff --git a/ui/base/cocoa/remote_layer_api.mm b/ui/base/cocoa/remote_layer_api.mm |
index 1bf64b46cfb1c3024e95e9b32614e0b1860ad7bc..d5783b73cb9973fcf17ac06ca26030558fcb40d3 100644 |
--- a/ui/base/cocoa/remote_layer_api.mm |
+++ b/ui/base/cocoa/remote_layer_api.mm |
@@ -12,10 +12,10 @@ |
namespace ui { |
bool RemoteLayerAPISupported() { |
- static bool enabled_at_command_line = |
+ static bool disabled_at_command_line = |
sky
2014/08/14 00:19:34
Same comment about static here.
ccameron
2014/08/14 00:33:55
Done.
|
CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableRemoteCoreAnimation); |
- if (!enabled_at_command_line) |
+ switches::kDisableRemoteCoreAnimation); |
+ if (disabled_at_command_line) |
return false; |
// Verify the GPU process interfaces are present. |