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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.cc

Issue 10982068: Browser Plugin: Remove unnecessary references to frame_id (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: content/browser/browser_plugin/browser_plugin_embedder.cc
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc
index 930db2726a3e556f6b711610177a1f13c68d73da..d8a78566c59ead9cebd710705b6afe88d6e355bc 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.cc
+++ b/content/browser/browser_plugin/browser_plugin_embedder.cc
@@ -70,8 +70,7 @@ BrowserPluginGuest* BrowserPluginEmbedder::GetGuestByInstanceID(
}
void BrowserPluginEmbedder::AddGuest(int instance_id,
- WebContents* guest_web_contents,
- int64 frame_id) {
+ WebContents* guest_web_contents) {
DCHECK(guest_web_contents_by_instance_id_.find(instance_id) ==
guest_web_contents_by_instance_id_.end());
guest_web_contents_by_instance_id_[instance_id] = guest_web_contents;
@@ -79,7 +78,6 @@ void BrowserPluginEmbedder::AddGuest(int instance_id,
void BrowserPluginEmbedder::NavigateGuest(RenderViewHost* render_view_host,
int instance_id,
- int64 frame_id,
const std::string& src,
const gfx::Size& size) {
BrowserPluginGuest* guest = GetGuestByInstanceID(instance_id);
@@ -99,7 +97,7 @@ void BrowserPluginEmbedder::NavigateGuest(RenderViewHost* render_view_host,
guest_web_contents->GetMutableRendererPrefs()->
throttle_input_events = false;
- AddGuest(instance_id, guest_web_contents, frame_id);
+ AddGuest(instance_id, guest_web_contents);
guest_web_contents->SetDelegate(guest);
} else {
guest_web_contents =

Powered by Google App Engine
This is Rietveld 408576698