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

Unified Diff: content/browser/renderer_host/media/video_capture_controller.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/renderer_host/media/video_capture_controller.cc
diff --git a/content/browser/renderer_host/media/video_capture_controller.cc b/content/browser/renderer_host/media/video_capture_controller.cc
index f10f85ff12789ac811a95bd9193d24c5508df81c..bad1a51a0ca2122e474ca574e8325ff05887a4cd 100644
--- a/content/browser/renderer_host/media/video_capture_controller.cc
+++ b/content/browser/renderer_host/media/video_capture_controller.cc
@@ -17,7 +17,7 @@
#include "base/metrics/sparse_histogram.h"
#include "base/stl_util.h"
#include "build/build_config.h"
-#include "components/display_compositor/gl_helper.h"
+#include "content/browser/compositor/gl_helper.h"
#include "content/browser/renderer_host/media/media_stream_manager.h"
#include "content/browser/renderer_host/media/video_capture_buffer_pool.h"
#include "content/browser/renderer_host/media/video_capture_device_client.h"
@@ -47,8 +47,7 @@
class SyncTokenClientImpl : public VideoFrame::SyncTokenClient {
public:
- explicit SyncTokenClientImpl(display_compositor::GLHelper* gl_helper)
- : gl_helper_(gl_helper) {}
+ explicit SyncTokenClientImpl(GLHelper* gl_helper) : gl_helper_(gl_helper) {}
~SyncTokenClientImpl() override {}
void GenerateSyncToken(gpu::SyncToken* sync_token) override {
gl_helper_->GenerateSyncToken(sync_token);
@@ -58,7 +57,7 @@
}
private:
- display_compositor::GLHelper* gl_helper_;
+ GLHelper* gl_helper_;
};
void ReturnVideoFrame(const scoped_refptr<VideoFrame>& video_frame,
@@ -67,8 +66,7 @@
#if defined(OS_ANDROID)
NOTREACHED();
#else
- display_compositor::GLHelper* gl_helper =
- ImageTransportFactory::GetInstance()->GetGLHelper();
+ GLHelper* gl_helper = ImageTransportFactory::GetInstance()->GetGLHelper();
// UpdateReleaseSyncToken() creates a new sync_token using |gl_helper|, so
// wait the given |sync_token| using |gl_helper|.
if (gl_helper) {

Powered by Google App Engine
This is Rietveld 408576698