| Index: content/renderer/render_widget.cc
|
| diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
|
| index b12d3cf4fb7567eaea917900fff01de360252719..bb9cf90073a5d789890e500e64f5876b202a43f2 100644
|
| --- a/content/renderer/render_widget.cc
|
| +++ b/content/renderer/render_widget.cc
|
| @@ -24,7 +24,7 @@
|
| #include "content/common/view_messages.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/renderer/gpu/compositor_output_surface.h"
|
| -#include "content/renderer/gpu/compositor_software_output_device_gl_adapter.h"
|
| +#include "content/renderer/gpu/compositor_software_output_device.h"
|
| #include "content/renderer/gpu/input_handler_manager.h"
|
| #include "content/renderer/gpu/mailbox_output_surface.h"
|
| #include "content/renderer/gpu/render_widget_compositor.h"
|
| @@ -576,12 +576,9 @@ scoped_ptr<cc::OutputSurface> RenderWidget::CreateOutputSurface() {
|
|
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| if (command_line.HasSwitch(switches::kEnableSoftwareCompositingGLAdapter)) {
|
| - // In the absence of a software-based delegating renderer, use this
|
| - // stopgap adapter class to present the software renderer output using a
|
| - // 3d context.
|
| return scoped_ptr<cc::OutputSurface>(
|
| new CompositorOutputSurface(routing_id(), NULL,
|
| - new CompositorSoftwareOutputDeviceGLAdapter(context)));
|
| + new CompositorSoftwareOutputDevice()));
|
| } else {
|
| bool composite_to_mailbox =
|
| command_line.HasSwitch(cc::switches::kCompositeToMailbox);
|
|
|