Remove PluginList::RemovePlugin() and directly remove old plug-ins from plug-in list instead.

In the old version, removing the plug-in would modify the contents of the passed in parameter (which is a reference!), so we would keep on removing other plug-ins after it. Face, meet palm.


BUG=159896


Review URL: https://chromiumcodereview.appspot.com/11369247

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167979 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed