| Index: chrome/common/extensions/extension.cc
|
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
|
| index 7b836d30dd2365afc82fdbdde6f3333f94c64500..c3a17e3ecb9650e4648e12be3f6dc2785cd6567a 100644
|
| --- a/chrome/common/extensions/extension.cc
|
| +++ b/chrome/common/extensions/extension.cc
|
| @@ -1752,13 +1752,13 @@ bool Extension::LoadWebIntentAction(const std::string& action_name,
|
| if (href.empty()) {
|
| if (is_hosted_app()) {
|
| href = launch_web_url();
|
| - } else if (is_packaged_app() || is_platform_app()) {
|
| + } else if (is_packaged_app()) {
|
| href = launch_local_path();
|
| }
|
| }
|
|
|
| // If we still don't have an href, the manifest is malformed.
|
| - if (href.empty()) {
|
| + if (href.empty() && !is_platform_app()) {
|
| *error = ExtensionErrorUtils::FormatErrorMessageUTF16(
|
| errors::kInvalidIntentHrefEmpty, action_name);
|
| return false;
|
|
|