Fixes a crash in the Windows media player plugin caused when the Real player recorder
plugin is installed on the machine. This plugin intercepts LoadLibrary calls issued by
chrome.dll and wraps NPAPI calls provided the actual plugin dll, in this case media player.

This is to provide the Download this video functionality. 

Crash occurs probably due to an interacton with Real player and media player. Fix is to
load the plugin dynamically via the exported kernel32 function LoadLibrary instead of invoking
it via the LoadLibrary import from chrome.dll. This would bypass the recorder plugin.

Fixes bug http://code.google.com/p/chromium/issues/detail?id=63552

Bug=63552
Test=Install real player and media player on the machine and navigate to the url mentioned
     in the bug. It should not crash

Review URL: http://codereview.chromium.org/5190005

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


CrOS-Libchrome-Original-Commit: 3e24622628f9b80010c3784b7ee615c25236fc7f
1 file changed
tree: 9a35ac10a17e6652b1ca612bc2a11892f39f87aa
  1. base/
  2. build/
  3. ipc/
  4. testing/