Index: content/browser/compositor/gpu_process_transport_factory.cc |
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc |
index a7e0b428e721e2cd7796c1a52fb6300630bac38b..abbef9d9dc4b172d9967640af980da57e741694a 100644 |
--- a/content/browser/compositor/gpu_process_transport_factory.cc |
+++ b/content/browser/compositor/gpu_process_transport_factory.cc |
@@ -24,9 +24,9 @@ |
#include "cc/surfaces/onscreen_display_client.h" |
#include "cc/surfaces/surface_display_output_surface.h" |
#include "cc/surfaces/surface_manager.h" |
-#include "components/display_compositor/gl_helper.h" |
#include "content/browser/compositor/browser_compositor_output_surface.h" |
#include "content/browser/compositor/browser_compositor_overlay_candidate_validator.h" |
+#include "content/browser/compositor/gl_helper.h" |
#include "content/browser/compositor/gpu_browser_compositor_output_surface.h" |
#include "content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h" |
#include "content/browser/compositor/offscreen_browser_compositor_output_surface.h" |
@@ -488,8 +488,7 @@ |
// GLHelper created in this case would be lost/leaked if we just reset() |
// on the |gl_helper_| variable directly. So instead we call reset() on a |
// local std::unique_ptr. |
- std::unique_ptr<display_compositor::GLHelper> helper = |
- std::move(gl_helper_); |
+ std::unique_ptr<GLHelper> helper = std::move(gl_helper_); |
// If there are any observer left at this point, make sure they clean up |
// before we destroy the GLHelper. |
@@ -555,13 +554,13 @@ |
return surface_manager_.get(); |
} |
-display_compositor::GLHelper* GpuProcessTransportFactory::GetGLHelper() { |
+GLHelper* GpuProcessTransportFactory::GetGLHelper() { |
if (!gl_helper_ && !per_compositor_data_.empty()) { |
scoped_refptr<cc::ContextProvider> provider = |
SharedMainThreadContextProvider(); |
if (provider.get()) |
- gl_helper_.reset(new display_compositor::GLHelper( |
- provider->ContextGL(), provider->ContextSupport())); |
+ gl_helper_.reset(new GLHelper(provider->ContextGL(), |
+ provider->ContextSupport())); |
} |
return gl_helper_.get(); |
} |
@@ -676,8 +675,7 @@ |
shared_main_thread_contexts_; |
shared_main_thread_contexts_ = NULL; |
- std::unique_ptr<display_compositor::GLHelper> lost_gl_helper = |
- std::move(gl_helper_); |
+ std::unique_ptr<GLHelper> lost_gl_helper = std::move(gl_helper_); |
FOR_EACH_OBSERVER(ImageTransportFactoryObserver, |
observer_list_, |