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

Unified Diff: extensions/browser/guest_view/app_view/app_view_guest.cc

Issue 444813002: Remove BrowserPlugin's -internal-attach method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't crash on tear down 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 | « content/renderer/render_frame_impl.cc ('k') | extensions/browser/guest_view/guest_view_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/guest_view/app_view/app_view_guest.cc
diff --git a/extensions/browser/guest_view/app_view/app_view_guest.cc b/extensions/browser/guest_view/app_view/app_view_guest.cc
index 45ef219915d0a55b1e4f4bc99889c03673e944eb..9b82badfe1508ed2d3819d1a650d5e013db5ffe5 100644
--- a/extensions/browser/guest_view/app_view/app_view_guest.cc
+++ b/extensions/browser/guest_view/app_view/app_view_guest.cc
@@ -168,7 +168,7 @@ void AppViewGuest::CreateWebContents(
}
pending_response_map.Get().insert(
- std::make_pair(GetGuestInstanceID(),
+ std::make_pair(guest_instance_id(),
make_linked_ptr(new ResponseInfo(
guest_extension,
weak_ptr_factory_.GetWeakPtr(),
@@ -247,7 +247,7 @@ void AppViewGuest::LaunchAppAndFireEvent(
}
scoped_ptr<base::DictionaryValue> embed_request(new base::DictionaryValue());
- embed_request->SetInteger(appview::kGuestInstanceID, GetGuestInstanceID());
+ embed_request->SetInteger(appview::kGuestInstanceID, guest_instance_id());
embed_request->SetString(appview::kEmbedderID, embedder_extension_id());
embed_request->Set(appview::kData, data.release());
AppRuntimeEventRouter::DispatchOnEmbedRequestedEvent(
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | extensions/browser/guest_view/guest_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698