diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 17:57:14 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 17:57:14 +0000 |
commit | f30ccc1be1eff1a339eafd11bc451d91bbe84f2e (patch) | |
tree | 4bedd8fd668f22b542301f6a7ef3eb15e616b0a7 | |
parent | 7f1f7eecef37adbe19c5c4ec52b0db0b3c86b53c (diff) | |
download | chromium_src-f30ccc1be1eff1a339eafd11bc451d91bbe84f2e.zip chromium_src-f30ccc1be1eff1a339eafd11bc451d91bbe84f2e.tar.gz chromium_src-f30ccc1be1eff1a339eafd11bc451d91bbe84f2e.tar.bz2 |
Fix plugin lookup order on the Mac
BUG=24902
TEST=Go to about:plugins, and verify that plugins in ~/Library/Internet Plug-Ins come before those in /Library/Internet Plug-Ins
Review URL: http://codereview.chromium.org/276045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29142 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/glue/plugins/plugin_list_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_list_mac.mm b/webkit/glue/plugins/plugin_list_mac.mm index 518d37f..4e8c055 100644 --- a/webkit/glue/plugins/plugin_list_mac.mm +++ b/webkit/glue/plugins/plugin_list_mac.mm @@ -20,7 +20,7 @@ void GetPluginCommonDirectory(std::vector<FilePath>* plugin_dirs, // Interestingly, Safari hard-codes the location (see // WebKit/WebKit/mac/Plugins/WebPluginDatabase.mm's +_defaultPlugInPaths). FSRef ref; - OSErr err = FSFindFolder(user ? kLocalDomain : kUserDomain, + OSErr err = FSFindFolder(user ? kUserDomain : kLocalDomain, kInternetPlugInFolderType, false, &ref); if (err) |