| Index: chrome/common/chrome_content_client.cc
|
| diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
|
| index b365e320e5d8b5f4c6708a7b064df7332c570eab..4325cec4d950d46fc8cc2f81088fc2a2b0bf0ac2 100644
|
| --- a/chrome/common/chrome_content_client.cc
|
| +++ b/chrome/common/chrome_content_client.cc
|
| @@ -340,9 +340,8 @@ bool GetComponentUpdatedPepperFlash(content::PepperPluginInfo* plugin) {
|
| }
|
| #endif // defined(OS_LINUX)
|
|
|
| -#if defined(OS_CHROMEOS) || defined(OS_LINUX)
|
| -// This should be used on ChromeOS and Linux only - other platforms do not
|
| -// bundle Flash.
|
| +#if defined(OS_CHROMEOS)
|
| +// This should be used on ChromeOS only - other platforms do not bundle Flash.
|
| bool GetBundledPepperFlash(content::PepperPluginInfo* plugin) {
|
| #if defined(FLAPPER_AVAILABLE)
|
| base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| @@ -368,7 +367,7 @@ bool GetBundledPepperFlash(content::PepperPluginInfo* plugin) {
|
| return false;
|
| #endif // FLAPPER_AVAILABLE
|
| }
|
| -#endif // defined(OS_CHROMEOS) || defined(OS_LINUX)
|
| +#endif // defined(OS_CHROMEOS)
|
|
|
| bool GetSystemPepperFlash(content::PepperPluginInfo* plugin) {
|
| base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| @@ -537,12 +536,12 @@ void ChromeContentClient::AddPepperPlugins(
|
| flash_versions.push_back(component_flash.release());
|
| #endif // defined(OS_LINUX)
|
|
|
| -#if defined(OS_CHROMEOS) || defined(OS_LINUX)
|
| +#if defined(OS_CHROMEOS)
|
| std::unique_ptr<content::PepperPluginInfo> bundled_flash(
|
| new content::PepperPluginInfo);
|
| if (GetBundledPepperFlash(bundled_flash.get()))
|
| flash_versions.push_back(bundled_flash.release());
|
| -#endif // defined(OS_CHROMEOS) || defined(OS_LINUX)
|
| +#endif // defined(OS_CHROMEOS)
|
|
|
| std::unique_ptr<content::PepperPluginInfo> system_flash(
|
| new content::PepperPluginInfo);
|
|
|