diff options
author | lazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 20:31:54 +0000 |
---|---|---|
committer | lazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 20:31:54 +0000 |
commit | a45544252ef3fd83dfd7bdd8c8fff1afc4851683 (patch) | |
tree | 45a473237d590562e9136559825bc34084bb859a /content/renderer | |
parent | 1495ad721862f4bd0d8b74af191ea5a4334b3a3a (diff) | |
download | chromium_src-a45544252ef3fd83dfd7bdd8c8fff1afc4851683.zip chromium_src-a45544252ef3fd83dfd7bdd8c8fff1afc4851683.tar.gz chromium_src-a45544252ef3fd83dfd7bdd8c8fff1afc4851683.tar.bz2 |
nit: Remove stale/incorrect comments from BrowserPluginManagerImpl.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11962026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177469 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer')
-rw-r--r-- | content/renderer/browser_plugin/browser_plugin_manager_impl.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/content/renderer/browser_plugin/browser_plugin_manager_impl.cc b/content/renderer/browser_plugin/browser_plugin_manager_impl.cc index 7eb0b71..2434749 100644 --- a/content/renderer/browser_plugin/browser_plugin_manager_impl.cc +++ b/content/renderer/browser_plugin/browser_plugin_manager_impl.cc @@ -63,13 +63,9 @@ void BrowserPluginManagerImpl::OnPluginAtPositionRequest( int instance_id = -1; IDMap<BrowserPlugin>::iterator it(&instances_); gfx::Point local_position = position; - int source_routing_id = message.routing_id(); while (!it.IsAtEnd()) { const BrowserPlugin* plugin = it.GetCurrentValue(); - // We need to check the plugin's routing id too since BrowserPluginManager - // can manage plugins from other embedder (in the same process). if (plugin->InBounds(position)) { - source_routing_id = plugin->render_view_routing_id(); instance_id = plugin->instance_id(); local_position = plugin->ToLocalCoordinates(position); break; @@ -78,10 +74,7 @@ void BrowserPluginManagerImpl::OnPluginAtPositionRequest( } Send(new BrowserPluginHostMsg_PluginAtPositionResponse( - source_routing_id, - instance_id, - request_id, - local_position)); + message.routing_id(), instance_id, request_id, local_position)); } // static |