| Index: content/common/plugin_list_posix.cc
|
| diff --git a/content/common/plugin_list_posix.cc b/content/common/plugin_list_posix.cc
|
| index 72a931073c41abdf3affa45bb357e78bba99cba8..2e587d98d77d40a72b91e596fc00229c710f3d98 100644
|
| --- a/content/common/plugin_list_posix.cc
|
| +++ b/content/common/plugin_list_posix.cc
|
| @@ -16,6 +16,7 @@
|
| #include <sys/types.h>
|
| #include <unistd.h>
|
|
|
| +#include "base/base_paths.h"
|
| #include "base/cpu.h"
|
| #include "base/file_util.h"
|
| #include "base/files/file_enumerator.h"
|
| @@ -465,7 +466,8 @@ void PluginList::GetPluginDirectories(std::vector<base::FilePath>* plugin_dirs)
|
| // 2) NS_USER_PLUGINS_DIR: ~/.mozilla/plugins.
|
| // This is a de-facto standard, so even though we're not Mozilla, let's
|
| // look in there too.
|
| - base::FilePath home = base::GetHomeDir();
|
| + base::FilePath home;
|
| + PathService::Get(base::DIR_HOME, &home);
|
| if (!home.empty())
|
| plugin_dirs->push_back(home.Append(".mozilla/plugins"));
|
|
|
|
|