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 79d6f0628c9236c7eb0a076d44ddb14f54fd8603..bbaf9f466f4999acb5bfccf3b9565fd8f556ca2f 100644 |
--- a/ui/base/cocoa/remote_layer_api.mm |
+++ b/ui/base/cocoa/remote_layer_api.mm |
@@ -5,7 +5,6 @@ |
#include "ui/base/cocoa/remote_layer_api.h" |
#include "base/command_line.h" |
-#include "base/mac/mac_util.h" |
#include "ui/base/ui_base_switches.h" |
#include <objc/runtime.h> |
@@ -13,10 +12,6 @@ |
namespace ui { |
bool RemoteLayerAPISupported() { |
- // This API only works on Mac OS 10.9 and later. |
- if (!base::mac::IsOSMavericksOrLater()) |
- return false; |
- |
static bool disabled_at_command_line = |
base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDisableRemoteCoreAnimation); |
@@ -54,4 +49,3 @@ bool RemoteLayerAPISupported() { |
} |
} // namespace |
- |