Index: ui/compositor/compositor_switches.cc |
diff --git a/ui/compositor/compositor_switches.cc b/ui/compositor/compositor_switches.cc |
index 413b8212a583f563f715e55239a116d8ce23c88e..013456eefdc8ece87db0ca3c0ef74bbac117b37a 100644 |
--- a/ui/compositor/compositor_switches.cc |
+++ b/ui/compositor/compositor_switches.cc |
@@ -34,9 +34,4 @@ bool IsUIZeroCopyEnabled() { |
return command_line.HasSwitch(switches::kUIEnableZeroCopy); |
} |
-bool IsUIOneCopyEnabled() { |
- // One-copy is on by default unless zero copy is enabled. |
- return !IsUIZeroCopyEnabled(); |
-} |
- |
} // namespace ui |