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

Unified Diff: content/browser/media/capture/aura_window_capture_machine.cc

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 years, 7 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/media/capture/aura_window_capture_machine.cc
diff --git a/content/browser/media/capture/aura_window_capture_machine.cc b/content/browser/media/capture/aura_window_capture_machine.cc
index a28c1c0f8aee8e5cca21d94d0b08d3b75a7bfb15..e6b15b02e7ce3315ae33df2843e526030aebfd2f 100644
--- a/content/browser/media/capture/aura_window_capture_machine.cc
+++ b/content/browser/media/capture/aura_window_capture_machine.cc
@@ -11,7 +11,7 @@
#include "base/metrics/histogram_macros.h"
#include "cc/output/copy_output_request.h"
#include "cc/output/copy_output_result.h"
-#include "components/display_compositor/gl_helper.h"
+#include "components/viz/display_compositor/gl_helper.h"
#include "content/browser/compositor/image_transport_factory.h"
#include "content/browser/media/capture/desktop_capture_device_uma_types.h"
#include "content/public/browser/browser_thread.h"
@@ -305,7 +305,7 @@ bool AuraWindowCaptureMachine::ProcessCopyOutputResponse(
}
ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
- display_compositor::GLHelper* gl_helper = factory->GetGLHelper();
+ viz::GLHelper* gl_helper = factory->GetGLHelper();
if (!gl_helper) {
VLOG(1) << "Aborting capture: No GLHelper available for YUV readback.";
return false;
@@ -326,8 +326,8 @@ bool AuraWindowCaptureMachine::ProcessCopyOutputResponse(
yuv_readback_pipeline_->scaler()->SrcSubrect() != result_rect ||
yuv_readback_pipeline_->scaler()->DstSize() != region_in_frame.size()) {
yuv_readback_pipeline_.reset(gl_helper->CreateReadbackPipelineYUV(
- display_compositor::GLHelper::SCALER_QUALITY_FAST, result_rect.size(),
- result_rect, region_in_frame.size(), true, true));
+ viz::GLHelper::SCALER_QUALITY_FAST, result_rect.size(), result_rect,
+ region_in_frame.size(), true, true));
}
cursor_renderer_->SnapshotCursorState(region_in_frame);
« no previous file with comments | « content/browser/media/capture/aura_window_capture_machine.h ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698