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

Unified Diff: content/browser/web_contents/web_contents_impl_unittest.cc

Issue 1413643002: Separate RenderViewHost from RenderWidgetHost, part 2: public implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 2 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/web_contents/web_contents_impl_unittest.cc
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
index 63f032cf9bc962b8766e93541bc7cf67e3441e83..acdfc42faaaa765feda34a4c57b4579f7707b8a4 100644
--- a/content/browser/web_contents/web_contents_impl_unittest.cc
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc
@@ -2693,7 +2693,7 @@ TEST_F(WebContentsImplTest, CapturerPreventsHiding) {
contents()->UpdatePreferredSize(original_preferred_size);
TestRenderWidgetHostView* view = static_cast<TestRenderWidgetHostView*>(
- contents()->GetMainFrame()->GetRenderViewHost()->GetView());
+ contents()->GetMainFrame()->GetRenderViewHost()->GetWidget()->GetView());
// With no capturers, setting and un-setting occlusion should change the
// view's occlusion state.
@@ -2720,7 +2720,7 @@ TEST_F(WebContentsImplTest, CapturerPreventsOcclusion) {
contents()->UpdatePreferredSize(original_preferred_size);
TestRenderWidgetHostView* view = static_cast<TestRenderWidgetHostView*>(
- contents()->GetMainFrame()->GetRenderViewHost()->GetView());
+ contents()->GetMainFrame()->GetRenderViewHost()->GetWidget()->GetView());
// With no capturers, setting and un-setting occlusion should change the
// view's occlusion state.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698