Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2044)

Unified Diff: content/browser/compositor/test/no_transport_image_transport_factory.cc

Issue 1905863002: Revert of Introduce components/display_compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/compositor/test/no_transport_image_transport_factory.cc
diff --git a/content/browser/compositor/test/no_transport_image_transport_factory.cc b/content/browser/compositor/test/no_transport_image_transport_factory.cc
index 9d2b18d3fa7577819aa3ccce8fd63771e7ea1aa6..e7c46e05dbc8492a84c9b93cb7158cccba8cc6e0 100644
--- a/content/browser/compositor/test/no_transport_image_transport_factory.cc
+++ b/content/browser/compositor/test/no_transport_image_transport_factory.cc
@@ -9,7 +9,7 @@
#include "build/build_config.h"
#include "cc/output/context_provider.h"
#include "cc/surfaces/surface_manager.h"
-#include "components/display_compositor/gl_helper.h"
+#include "content/browser/compositor/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"
@@ -24,8 +24,7 @@
new ui::InProcessContextFactory(true, surface_manager_.get())) {}
NoTransportImageTransportFactory::~NoTransportImageTransportFactory() {
- 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_, OnLostResources());
}
@@ -38,11 +37,11 @@
return surface_manager_.get();
}
-display_compositor::GLHelper* NoTransportImageTransportFactory::GetGLHelper() {
+GLHelper* NoTransportImageTransportFactory::GetGLHelper() {
if (!gl_helper_) {
context_provider_ = context_factory_->SharedMainThreadContextProvider();
- gl_helper_.reset(new display_compositor::GLHelper(
- context_provider_->ContextGL(), context_provider_->ContextSupport()));
+ gl_helper_.reset(new GLHelper(context_provider_->ContextGL(),
+ context_provider_->ContextSupport()));
}
return gl_helper_.get();
}

Powered by Google App Engine
This is Rietveld 408576698