| Index: chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| diff --git a/chrome/browser/component_updater/pepper_flash_component_installer.cc b/chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| index 80138da9f5962b05a6984ac883eb93964a158066..2ebbb31854080d51bc574bc9aebdb89ad23aa79e 100644
|
| --- a/chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| +++ b/chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| @@ -291,6 +291,14 @@ void StartPepperFlashUpdateRegistration(ComponentUpdateService* cus) {
|
| }
|
| }
|
|
|
| +#if defined(FLAPPER_AVAILABLE)
|
| + // If a version of Flash is bundled with Chrome, and it's a higher version
|
| + // than the version of the component, or the component has never been updated,
|
| + // then set the bundled version as the current version.
|
| + if (version.CompareTo(Version(FLAPPER_VERSION_STRING)) < 0)
|
| + version = Version(FLAPPER_VERSION_STRING);
|
| +#endif
|
| +
|
| BrowserThread::PostTask(
|
| BrowserThread::UI,
|
| FROM_HERE,
|
|
|