summaryrefslogtreecommitdiffstats
path: root/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc')
-rw-r--r--chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc b/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
index d6f491a..d29204f 100644
--- a/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
+++ b/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
@@ -353,7 +353,7 @@ class WebViewInteractiveTest
content::RenderWidgetHost::GetRenderWidgetHosts());
size_t num_widgets = 0;
while (content::RenderWidgetHost* widget = widgets->GetNextHost()) {
- if (widget->IsRenderView())
+ if (content::RenderViewHost::From(widget))
continue;
++num_widgets;
last_render_widget_host_ = widget;