Index: chrome/browser/guest_view/guest_view_manager.cc |
diff --git a/chrome/browser/guest_view/guest_view_manager.cc b/chrome/browser/guest_view/guest_view_manager.cc |
index 832e5811f22094ecbd72b7ce6ef7c5d8ff7ddf49..ac5473534c3242fd87738bb05c87c75d01e2ebfc 100644 |
--- a/chrome/browser/guest_view/guest_view_manager.cc |
+++ b/chrome/browser/guest_view/guest_view_manager.cc |
@@ -58,7 +58,7 @@ content::WebContents* GuestViewManager::GetGuestByInstanceIDSafely( |
guest_instance_id)) { |
return NULL; |
} |
- return GetGuestByInstanceID(guest_instance_id, embedder_render_process_id); |
+ return GetGuestByInstanceID(guest_instance_id); |
} |
int GuestViewManager::GetNextInstanceID() { |
@@ -114,7 +114,7 @@ void GuestViewManager::MaybeGetGuestByInstanceIDOrKill( |
return; |
} |
content::WebContents* guest_web_contents = |
- GetGuestByInstanceID(guest_instance_id, embedder_render_process_id); |
+ GetGuestByInstanceID(guest_instance_id); |
callback.Run(guest_web_contents); |
} |
@@ -183,8 +183,7 @@ void GuestViewManager::RemoveGuest(int guest_instance_id) { |
} |
content::WebContents* GuestViewManager::GetGuestByInstanceID( |
- int guest_instance_id, |
- int embedder_render_process_id) { |
+ int guest_instance_id) { |
GuestInstanceMap::const_iterator it = |
guest_web_contents_by_instance_id_.find(guest_instance_id); |
if (it == guest_web_contents_by_instance_id_.end()) |