Index: content/browser/renderer_host/compositor_impl_android.cc |
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc |
index 9420ce9d3aa7630f1dbf83fc17ac60cca319c6ee..ebfbd263680750bc891cabbcf8baf87e86c2fc4d 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.cc |
+++ b/content/browser/renderer_host/compositor_impl_android.cc |
@@ -46,9 +46,9 @@ |
#include "cc/surfaces/frame_sink_id_allocator.h" |
#include "cc/trees/layer_tree_host.h" |
#include "cc/trees/layer_tree_settings.h" |
-#include "components/display_compositor/compositor_overlay_candidate_validator_android.h" |
-#include "components/display_compositor/gl_helper.h" |
-#include "components/display_compositor/host_shared_bitmap_manager.h" |
+#include "components/viz/display_compositor/compositor_overlay_candidate_validator_android.h" |
+#include "components/viz/display_compositor/gl_helper.h" |
+#include "components/viz/display_compositor/host_shared_bitmap_manager.h" |
#include "content/browser/compositor/frame_sink_manager_host.h" |
#include "content/browser/gpu/browser_gpu_channel_host_factory.h" |
#include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" |
@@ -224,8 +224,7 @@ class AndroidOutputSurface : public cc::OutputSurface { |
: cc::OutputSurface(std::move(context_provider)), |
swap_buffers_callback_(std::move(swap_buffers_callback)), |
overlay_candidate_validator_( |
- new display_compositor:: |
- CompositorOverlayCandidateValidatorAndroid()), |
+ new viz::CompositorOverlayCandidateValidatorAndroid()), |
weak_ptr_factory_(this) { |
capabilities_.max_frames_pending = kMaxDisplaySwapBuffers; |
} |
@@ -770,7 +769,7 @@ void CompositorImpl::InitializeDisplay( |
task_runner, display_output_surface->capabilities().max_frames_pending)); |
display_.reset(new cc::Display( |
- display_compositor::HostSharedBitmapManager::current(), |
+ viz::HostSharedBitmapManager::current(), |
BrowserGpuMemoryBufferManager::current(), |
host_->GetSettings().renderer_settings, frame_sink_id_, |
root_window_->GetBeginFrameSource(), std::move(display_output_surface), |
@@ -785,7 +784,7 @@ void CompositorImpl::InitializeDisplay( |
: base::MakeUnique<cc::DirectCompositorFrameSink>( |
frame_sink_id_, manager, display_.get(), context_provider, |
nullptr, BrowserGpuMemoryBufferManager::current(), |
- display_compositor::HostSharedBitmapManager::current()); |
+ viz::HostSharedBitmapManager::current()); |
display_->SetVisible(true); |
display_->Resize(size_); |