| Index: ui/compositor/test/in_process_context_factory.cc
|
| diff --git a/ui/compositor/test/in_process_context_factory.cc b/ui/compositor/test/in_process_context_factory.cc
|
| index e47181415a4d55d30435e8160900f50f19957a6a..6647115bcd003c1201d95406c3045714bb3ad4fe 100644
|
| --- a/ui/compositor/test/in_process_context_factory.cc
|
| +++ b/ui/compositor/test/in_process_context_factory.cc
|
| @@ -18,9 +18,9 @@
|
| #include "gpu/command_buffer/client/gles2_interface.h"
|
| #include "ui/compositor/compositor_switches.h"
|
| #include "ui/compositor/reflector.h"
|
| +#include "ui/compositor/test/in_process_context_provider.h"
|
| #include "ui/gl/gl_implementation.h"
|
| #include "ui/gl/gl_surface.h"
|
| -#include "webkit/common/gpu/context_provider_in_process.h"
|
|
|
| namespace ui {
|
| namespace {
|
| @@ -99,9 +99,8 @@ void InProcessContextFactory::CreateOutputSurface(
|
| attrs, lose_context_when_out_of_memory, compositor->widget()));
|
| CHECK(context3d);
|
|
|
| - using webkit::gpu::ContextProviderInProcess;
|
| - scoped_refptr<ContextProviderInProcess> context_provider =
|
| - ContextProviderInProcess::Create(context3d.Pass(), "UICompositor");
|
| + scoped_refptr<InProcessContextProvider> context_provider =
|
| + InProcessContextProvider::Create(context3d.Pass(), "UICompositor");
|
|
|
| if (use_test_surface_) {
|
| bool flipped_output_surface = false;
|
| @@ -129,9 +128,8 @@ InProcessContextFactory::SharedMainThreadContextProvider() {
|
| return shared_main_thread_contexts_;
|
|
|
| bool lose_context_when_out_of_memory = false;
|
| - shared_main_thread_contexts_ =
|
| - webkit::gpu::ContextProviderInProcess::CreateOffscreen(
|
| - lose_context_when_out_of_memory);
|
| + shared_main_thread_contexts_ = InProcessContextProvider::CreateOffscreen(
|
| + lose_context_when_out_of_memory);
|
| if (shared_main_thread_contexts_.get() &&
|
| !shared_main_thread_contexts_->BindToCurrentThread())
|
| shared_main_thread_contexts_ = NULL;
|
|
|