diff options
Diffstat (limited to 'content/browser/manifest/manifest_manager_host.cc')
-rw-r--r-- | content/browser/manifest/manifest_manager_host.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/manifest/manifest_manager_host.cc b/content/browser/manifest/manifest_manager_host.cc index d1bf291..796d0a9 100644 --- a/content/browser/manifest/manifest_manager_host.cc +++ b/content/browser/manifest/manifest_manager_host.cc @@ -109,6 +109,8 @@ void ManifestManagerHost::OnRequestManifestResponse( manifest.short_name = base::NullableString16( manifest.short_name.string().substr(0, Manifest::kMaxIPCStringLength), manifest.short_name.is_null()); + if (!manifest.start_url.is_empty() && !manifest.start_url.is_valid()) + manifest.start_url = GURL(); callback->Run(manifest); callbacks->Remove(request_id); |