| Index: chrome/common/extensions/extension_messages.cc
|
| diff --git a/chrome/common/extensions/extension_messages.cc b/chrome/common/extensions/extension_messages.cc
|
| index 3adee275ef648fa98c1cdea8704b546dcc2c5c6b..6a6aa20200ff7d239449a5124ba568a78a6fca99 100644
|
| --- a/chrome/common/extensions/extension_messages.cc
|
| +++ b/chrome/common/extensions/extension_messages.cc
|
| @@ -116,8 +116,9 @@ bool ParamTraits<URLPattern>::Read(const Message* m, void** iter,
|
| // match the invalid patterns. We get around this by setting the valid
|
| // schemes after parsing the pattern. Update these method calls once we can
|
| // ignore scheme validation with URLPattern parse options. crbug.com/90544
|
| + p->SetParseOption(URLPattern::IGNORE_PORTS);
|
| p->SetValidSchemes(URLPattern::SCHEME_ALL);
|
| - URLPattern::ParseResult result = p->Parse(spec, URLPattern::IGNORE_PORTS);
|
| + URLPattern::ParseResult result = p->Parse(spec);
|
| p->SetValidSchemes(valid_schemes);
|
| return URLPattern::PARSE_SUCCESS == result;
|
| }
|
|
|