Index: chrome/browser/apps/web_view_interactive_browsertest.cc |
diff --git a/chrome/browser/apps/web_view_interactive_browsertest.cc b/chrome/browser/apps/web_view_interactive_browsertest.cc |
index cb01b239634cebd73d542b2e472899dbbdc75f80..e2fec4b26f936ed87d135798c30e6ae353ee709a 100644 |
--- a/chrome/browser/apps/web_view_interactive_browsertest.cc |
+++ b/chrome/browser/apps/web_view_interactive_browsertest.cc |
@@ -9,6 +9,7 @@ |
#include "chrome/app/chrome_command_ids.h" |
#include "chrome/browser/apps/app_browsertest_util.h" |
#include "chrome/browser/extensions/extension_test_message_listener.h" |
+#include "chrome/browser/guest_view/guest_view_base.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h" |
#include "chrome/browser/renderer_context_menu/render_view_context_menu_test_util.h" |
@@ -222,7 +223,9 @@ class WebViewInteractiveTest |
EXPECT_TRUE(source->GetWebContents()->GetRenderProcessHost()->IsGuest()); |
guest_web_contents_ = source->GetWebContents(); |
- embedder_web_contents_ = guest_web_contents_->GetEmbedderWebContents(); |
+ embedder_web_contents_ = |
+ GuestViewBase::FromWebContents(guest_web_contents_)-> |
+ embedder_web_contents(); |
gfx::Rect offset = embedder_web_contents_->GetContainerBounds(); |
corner_ = gfx::Point(offset.x(), offset.y()); |