Chromium Code Reviews| Index: content/browser/manifest/manifest_manager_host.cc |
| diff --git a/content/browser/manifest/manifest_manager_host.cc b/content/browser/manifest/manifest_manager_host.cc |
| index c22ae0ad46acfd1a4fd4c91c958e3325b55ce4e9..5ba50d0f6a3eb2b03cf835cdbb5904f2811591b8 100644 |
| --- a/content/browser/manifest/manifest_manager_host.cc |
| +++ b/content/browser/manifest/manifest_manager_host.cc |
| @@ -136,6 +136,8 @@ void ManifestManagerHost::OnRequestManifestResponse( |
| 0, Manifest::kMaxIPCStringLength), |
| related_application.id.is_null()); |
| } |
| + if (manifest.theme_color < 0 || manifest.theme_color > 0xFFFFFFFF) |
|
nasko
2015/07/20 12:02:00
Please add a comment giving a bit of background wh
|
| + manifest.theme_color = Manifest::kInvalidOrMissingThemeColor; |
| callback->Run(manifest); |
| callbacks->Remove(request_id); |