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

Unified Diff: content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc

Issue 1904773004: 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/gpu_surfaceless_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
index 076f16bb86e3bbb42d64c578d84b9a777a973e35..2081727cde6adbbc296a3d777082af33dcdba1c4 100644
--- a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
@@ -8,9 +8,9 @@
#include "cc/output/compositor_frame.h"
#include "cc/output/output_surface_client.h"
-#include "components/display_compositor/buffer_queue.h"
-#include "components/display_compositor/gl_helper.h"
#include "content/browser/compositor/browser_compositor_overlay_candidate_validator.h"
+#include "content/browser/compositor/buffer_queue.h"
+#include "content/browser/compositor/gl_helper.h"
#include "content/browser/compositor/reflector_impl.h"
#include "content/browser/gpu/gpu_surface_tracker.h"
#include "content/common/gpu/client/context_provider_command_buffer.h"
@@ -49,9 +49,9 @@
// implementation.
capabilities_.max_frames_pending = 2;
- gl_helper_.reset(new display_compositor::GLHelper(
- context_provider_->ContextGL(), context_provider_->ContextSupport()));
- output_surface_.reset(new display_compositor::BufferQueue(
+ gl_helper_.reset(new GLHelper(context_provider_->ContextGL(),
+ context_provider_->ContextSupport()));
+ output_surface_.reset(new BufferQueue(
context_provider_, target, internalformat_, gl_helper_.get(),
gpu_memory_buffer_manager_, surface_id));
output_surface_->Initialize();

Powered by Google App Engine
This is Rietveld 408576698