diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 02:13:37 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 02:13:37 +0000 |
commit | d0a89a3b5789e4913dacce736e30c92391f23503 (patch) | |
tree | ea9e097b88c2ee312dd6600b10247cb5e0d9c7be /content/ppapi_plugin | |
parent | 09f9fe7f2602524d432f0bf75f3b03b2b34e7c21 (diff) | |
download | chromium_src-d0a89a3b5789e4913dacce736e30c92391f23503.zip chromium_src-d0a89a3b5789e4913dacce736e30c92391f23503.tar.gz chromium_src-d0a89a3b5789e4913dacce736e30c92391f23503.tar.bz2 |
Fixed loading resources from the host plugin's bundle on Mac.
The plugins shares the Cocoa class namespace with the Chrome's helper binary hosting the plugin. Because the client plugin is compiled into Chrome, Chrome's instance of NSBundleLocator is passed to NSBundle::bundleForClass, breaking resource loading as the result.
This CL switches to using dladdr() to get the bundle path instead of NSBUndle::bundleForClass.
BUG=267239
Review URL: https://chromiumcodereview.appspot.com/21976003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/ppapi_plugin')
0 files changed, 0 insertions, 0 deletions