diff options
Diffstat (limited to 'content/renderer/render_widget.cc')
-rw-r--r-- | content/renderer/render_widget.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc index b681e5d..f8d3137 100644 --- a/content/renderer/render_widget.cc +++ b/content/renderer/render_widget.cc @@ -58,10 +58,6 @@ #include "webkit/plugins/npapi/webplugin.h" #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" -#if defined(OS_ANDROID) -#include "content/renderer/android/synchronous_compositor_output_surface.h" -#endif - #if defined(OS_POSIX) #include "ipc/ipc_channel_posix.h" #include "third_party/skia/include/core/SkMallocPixelRef.h" @@ -585,16 +581,6 @@ scoped_ptr<cc::OutputSurface> RenderWidget::CreateOutputSurface() { if (!context) return scoped_ptr<cc::OutputSurface>(); -#if defined(OS_ANDROID) - if (command_line.HasSwitch(switches::kEnableSynchronousRendererCompositor)) { - // TODO(joth): Move above the |context| creation step above when the - // SynchronousCompositor no longer depends on externally created context. - return scoped_ptr<cc::OutputSurface>( - new SynchronousCompositorOutputSurface(routing_id(), - context)); - } -#endif - bool composite_to_mailbox = command_line.HasSwitch(cc::switches::kCompositeToMailbox); DCHECK(!composite_to_mailbox || command_line.HasSwitch( |