Index: cc/base/switches.cc |
diff --git a/cc/base/switches.cc b/cc/base/switches.cc |
index 768cfdee04749dad89f3aff1016e2bc3aa67c040..8609e0e789c837087bf4d505545acd18af74f769 100644 |
--- a/cc/base/switches.cc |
+++ b/cc/base/switches.cc |
@@ -4,9 +4,6 @@ |
#include "cc/base/switches.h" |
-#include "base/command_line.h" |
- |
-namespace cc { |
namespace switches { |
// On platforms where checkerboards are used, prefer background colors instead |
@@ -127,20 +124,4 @@ const char kUseMapImage[] = "use-map-image"; |
// Prevents the layer tree unit tests from timing out. |
const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
-bool IsImplSidePaintingEnabled() { |
- const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
- |
- if (command_line.HasSwitch(cc::switches::kDisableImplSidePainting)) |
- return false; |
- else if (command_line.HasSwitch(cc::switches::kEnableImplSidePainting)) |
- return true; |
- |
-#if defined(OS_ANDROID) |
- return true; |
-#else |
- return false; |
-#endif |
-} |
- |
} // namespace switches |
-} // namespace cc |