Index: ui/compositor/compositor_switches.cc |
diff --git a/ui/compositor/compositor_switches.cc b/ui/compositor/compositor_switches.cc |
index d63b269e2ed7c637a6c2115573eb73b062a0b2e6..a7ffc1465a0f9f2abc55e420857912ff931f6709 100644 |
--- a/ui/compositor/compositor_switches.cc |
+++ b/ui/compositor/compositor_switches.cc |
@@ -19,7 +19,7 @@ const char kUIDisableThreadedCompositing[] = "ui-disable-threaded-compositing"; |
const char kUIEnableImplSidePainting[] = "ui-enable-impl-side-painting"; |
-const char kUIEnableMapImage[] = "ui-enable-map-image"; |
+const char kUIEnableZeroCopy[] = "ui-enable-zero-copy"; |
const char kUIShowPaintRects[] = "ui-show-paint-rects"; |
@@ -33,10 +33,10 @@ bool IsUIImplSidePaintingEnabled() { |
return command_line.HasSwitch(switches::kUIEnableImplSidePainting); |
} |
-bool IsUIMapImageEnabled() { |
+bool IsUIZeroCopyEnabled() { |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
- return command_line.HasSwitch(switches::kUIEnableMapImage); |
+ return command_line.HasSwitch(switches::kUIEnableZeroCopy); |
} |
} // namespace ui |