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

Unified Diff: chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc

Issue 426593007: Refactor guest view availability to be API not permission based. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MostLikelyContextType Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/guest_view/app_view/app_view_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc
diff --git a/chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc b/chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc
index 7765d9b428effee7c37bdf42fb4f0ed98ce87f49..cc2ac3b88617616dd0acc0f5222f6162c6fe85ba 100644
--- a/chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc
+++ b/chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc
@@ -35,7 +35,7 @@ bool GuestViewInternalCreateGuestFunction::RunAsync() {
this);
guest_view_manager->CreateGuest(view_type,
extension_id(),
- render_view_host()->GetProcess()->GetID(),
+ GetAssociatedWebContents(),
*create_params,
callback);
« no previous file with comments | « no previous file | chrome/browser/guest_view/app_view/app_view_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698