Index: ui/compositor/compositor_switches.cc |
diff --git a/ui/compositor/compositor_switches.cc b/ui/compositor/compositor_switches.cc |
index 888242ddfd99164c3ea4d4887dba4710f2554909..8a5fb98c193482244c5192a0cc76861708efcc0b 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 |