| Index: chrome/common/chrome_paths.cc
|
| diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
|
| index 8d1dca6619d83c082d4191490c34fbc5f0ed2fce..988f4d857370ed628118fe9fa77b3b22ae9b5e95 100644
|
| --- a/chrome/common/chrome_paths.cc
|
| +++ b/chrome/common/chrome_paths.cc
|
| @@ -255,10 +255,12 @@ bool PathProvider(int key, FilePath* result) {
|
| cur = cur.Append(FILE_PATH_LITERAL("script.log"));
|
| break;
|
| case chrome::FILE_FLASH_PLUGIN:
|
| + case chrome::FILE_FLASH_PLUGIN_EXISTING:
|
| if (!GetInternalPluginsDirectory(&cur))
|
| return false;
|
| cur = cur.Append(kInternalFlashPluginFileName);
|
| - if (!file_util::PathExists(cur))
|
| + if (key == chrome::FILE_FLASH_PLUGIN_EXISTING &&
|
| + !file_util::PathExists(cur))
|
| return false;
|
| break;
|
| case chrome::FILE_PEPPER_FLASH_PLUGIN:
|
|
|