| Index: chrome/browser/guest_view/web_view/web_view_guest.cc
|
| diff --git a/chrome/browser/guest_view/web_view/web_view_guest.cc b/chrome/browser/guest_view/web_view/web_view_guest.cc
|
| index 3286f09b41a09e63a7dd305bf6e59110523b3ef6..35bd51ca3f0af73f0a824ef41a7be3be71267d88 100644
|
| --- a/chrome/browser/guest_view/web_view/web_view_guest.cc
|
| +++ b/chrome/browser/guest_view/web_view/web_view_guest.cc
|
| @@ -34,6 +34,7 @@
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/notification_types.h"
|
| #include "content/public/browser/render_process_host.h"
|
| +#include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/resource_request_details.h"
|
| #include "content/public/browser/site_instance.h"
|
| #include "content/public/browser/storage_partition.h"
|
| @@ -903,6 +904,8 @@ void WebViewGuest::UserAgentOverrideSet(const std::string& user_agent) {
|
| }
|
|
|
| void WebViewGuest::RenderViewReady() {
|
| + // The guest RenderView should always live in an isolated guest process.
|
| + CHECK(guest_web_contents()->GetRenderProcessHost()->IsIsolatedGuest());
|
| Send(new ChromeViewMsg_SetName(guest_web_contents()->GetRoutingID(), name_));
|
| }
|
|
|
|
|