Index: content/browser/renderer_host/render_widget_host_view_aura_unittest.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc |
index 3694c7968fe6c78e9840593a7210d5a710739db2..31e9c9a13573bd0d47f8f4ef0833fcadc90efe92 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc |
@@ -31,8 +31,8 @@ |
#include "cc/surfaces/surface_manager.h" |
#include "cc/test/begin_frame_args_test.h" |
#include "cc/test/fake_external_begin_frame_source.h" |
-#include "components/display_compositor/gl_helper.h" |
-#include "components/display_compositor/host_shared_bitmap_manager.h" |
+#include "components/viz/display_compositor/gl_helper.h" |
+#include "components/viz/display_compositor/host_shared_bitmap_manager.h" |
#include "content/browser/browser_thread_impl.h" |
#include "content/browser/compositor/test/no_transport_image_transport_factory.h" |
#include "content/browser/frame_host/render_widget_host_view_guest.h" |
@@ -456,7 +456,7 @@ class FakeRenderWidgetHostViewAura : public RenderWidgetHostViewAura { |
last_copy_request_ = std::move(request); |
if (last_copy_request_->has_texture_mailbox()) { |
// Give the resulting texture a size. |
- display_compositor::GLHelper* gl_helper = |
+ viz::GLHelper* gl_helper = |
ImageTransportFactory::GetInstance()->GetGLHelper(); |
GLuint texture = gl_helper->ConsumeMailboxToTexture( |
last_copy_request_->texture_mailbox().mailbox(), |
@@ -2729,8 +2729,8 @@ TEST_F(RenderWidgetHostViewAuraTest, DiscardDelegatedFrames) { |
size_t renderer_count = max_renderer_frames + 1; |
gfx::Rect view_rect(100, 100); |
gfx::Size frame_size = view_rect.size(); |
- DCHECK_EQ(0u, display_compositor::HostSharedBitmapManager::current() |
- ->AllocatedBitmapCount()); |
+ DCHECK_EQ(0u, |
+ viz::HostSharedBitmapManager::current()->AllocatedBitmapCount()); |
std::unique_ptr<RenderWidgetHostImpl* []> hosts( |
new RenderWidgetHostImpl*[renderer_count]); |
@@ -2869,8 +2869,8 @@ TEST_F(RenderWidgetHostViewAuraTest, DiscardDelegatedFrames) { |
int handles_per_frame = 5; |
FrameEvictionManager::GetInstance()->set_max_handles(handles_per_frame * 2); |
- display_compositor::HostSharedBitmapManagerClient bitmap_client( |
- display_compositor::HostSharedBitmapManager::current()); |
+ viz::HostSharedBitmapManagerClient bitmap_client( |
+ viz::HostSharedBitmapManager::current()); |
for (size_t i = 0; i < (renderer_count - 1) * handles_per_frame; i++) { |
bitmap_client.ChildAllocatedSharedBitmap(1, base::SharedMemoryHandle(), |
@@ -2903,8 +2903,8 @@ TEST_F(RenderWidgetHostViewAuraTest, DiscardDelegatedFramesWithLocking) { |
size_t renderer_count = max_renderer_frames + 1; |
gfx::Rect view_rect(100, 100); |
gfx::Size frame_size = view_rect.size(); |
- DCHECK_EQ(0u, display_compositor::HostSharedBitmapManager::current() |
- ->AllocatedBitmapCount()); |
+ DCHECK_EQ(0u, |
+ viz::HostSharedBitmapManager::current()->AllocatedBitmapCount()); |
std::unique_ptr<RenderWidgetHostImpl* []> hosts( |
new RenderWidgetHostImpl*[renderer_count]); |
@@ -2976,8 +2976,8 @@ TEST_F(RenderWidgetHostViewAuraTest, DiscardDelegatedFramesWithMemoryPressure) { |
size_t renderer_count = kMaxRendererFrames; |
gfx::Rect view_rect(100, 100); |
gfx::Size frame_size = view_rect.size(); |
- DCHECK_EQ(0u, display_compositor::HostSharedBitmapManager::current() |
- ->AllocatedBitmapCount()); |
+ DCHECK_EQ(0u, |
+ viz::HostSharedBitmapManager::current()->AllocatedBitmapCount()); |
std::unique_ptr<RenderWidgetHostImpl* []> hosts( |
new RenderWidgetHostImpl*[renderer_count]); |