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

Unified Diff: components/guest_view/browser/guest_view_manager.cc

Issue 2417693002: Allow MimeHandlerViewGuest be embedded inside OOPIFs (Closed)
Patch Set: Setting embedder frame id when the MimeHandlerViewGuest is created. Created 4 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: components/guest_view/browser/guest_view_manager.cc
diff --git a/components/guest_view/browser/guest_view_manager.cc b/components/guest_view/browser/guest_view_manager.cc
index 1734c762657e9ae169d5d621fc0c84cd8fbe7d26..9b7d37dbbe860065f758a90043602eb8bcfeb84a 100644
--- a/components/guest_view/browser/guest_view_manager.cc
+++ b/components/guest_view/browser/guest_view_manager.cc
@@ -1,7 +1,7 @@
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
+#include "base/debug/stack_trace.h"
wjmaclean 2016/10/20 14:47:22 Remove before commit.
EhsanK 2016/10/20 21:41:17 Done.
#include "components/guest_view/browser/guest_view_manager.h"
#include <tuple>
@@ -464,7 +464,7 @@ bool GuestViewManager::CanEmbedderAccessInstanceID(
return false;
return embedder_render_process_id ==
- guest_view->owner_web_contents()->GetRenderProcessHost()->GetID();
+ guest_view->GetEmbedderFrame()->GetProcess()->GetID();
}
GuestViewManager::ElementInstanceKey::ElementInstanceKey()

Powered by Google App Engine
This is Rietveld 408576698