Index: content/browser/compositor/no_transport_image_transport_factory.cc |
diff --git a/content/browser/compositor/no_transport_image_transport_factory.cc b/content/browser/compositor/no_transport_image_transport_factory.cc |
index 03289c0f68511a2ca6714e7c0357c362268915f6..276e4d0f61e5e4fabb8d411fd29903941fb48a6f 100644 |
--- a/content/browser/compositor/no_transport_image_transport_factory.cc |
+++ b/content/browser/compositor/no_transport_image_transport_factory.cc |
@@ -8,12 +8,13 @@ |
#include "content/common/gpu/client/gl_helper.h" |
#include "gpu/command_buffer/client/gles2_interface.h" |
#include "ui/compositor/compositor.h" |
+#include "ui/compositor/test/in_process_context_factory.h" |
namespace content { |
-NoTransportImageTransportFactory::NoTransportImageTransportFactory( |
- scoped_ptr<ui::ContextFactory> context_factory) |
- : context_factory_(context_factory.Pass()) {} |
+NoTransportImageTransportFactory::NoTransportImageTransportFactory() |
+ : context_factory_(new ui::InProcessContextFactory) { |
+} |
NoTransportImageTransportFactory::~NoTransportImageTransportFactory() { |
scoped_ptr<GLHelper> lost_gl_helper = gl_helper_.Pass(); |