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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura_unittest.cc

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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/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 75d2551a220fb516be535793b9c91402324c2285..0e8f92b377600c9cd0771655ec0594113541e3cd 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
@@ -181,7 +181,7 @@ class FakeRenderWidgetHostViewAura : public RenderWidgetHostViewAura {
}
void RunOnCompositingDidCommit() {
- OnCompositingDidCommit(window()->GetDispatcher()->host()->compositor());
+ OnCompositingDidCommit(window()->GetHost()->compositor());
}
// A lock that doesn't actually do anything to the compositor, and does not
@@ -925,7 +925,7 @@ TEST_F(RenderWidgetHostViewAuraTest, FullscreenResize) {
gfx::Rect(params.a.new_size),
owned_mailbox.get()));
ui::DrawWaiterForTest::WaitForCommit(
- root_window->GetDispatcher()->host()->compositor());
+ root_window->GetHost()->compositor());
}
widget_host_->ResetSizeAndRepaintPendingFlags();
@@ -949,7 +949,7 @@ TEST_F(RenderWidgetHostViewAuraTest, FullscreenResize) {
gfx::Rect(params.a.new_size),
owned_mailbox.get()));
ui::DrawWaiterForTest::WaitForCommit(
- root_window->GetDispatcher()->host()->compositor());
+ root_window->GetHost()->compositor());
}
}

Powered by Google App Engine
This is Rietveld 408576698