| Index: extensions/common/extension_urls.cc
|
| diff --git a/extensions/common/extension_urls.cc b/extensions/common/extension_urls.cc
|
| index 08fb32d62305b896ed32af8b4b16379fc7ea6d97..9f4dff95fd5bd70c437794bad89b559dc62aba1d 100644
|
| --- a/extensions/common/extension_urls.cc
|
| +++ b/extensions/common/extension_urls.cc
|
| @@ -81,12 +81,8 @@ GURL GetWebstoreReportAbuseUrl(const std::string& extension_id,
|
|
|
| bool IsWebstoreUpdateUrl(const GURL& update_url) {
|
| GURL store_url = GetWebstoreUpdateUrl();
|
| - if (update_url == store_url) {
|
| - return true;
|
| - } else {
|
| - return (update_url.host() == store_url.host() &&
|
| - update_url.path() == store_url.path());
|
| - }
|
| + return (update_url.host_piece() == store_url.host_piece() &&
|
| + update_url.path_piece() == store_url.path_piece());
|
| }
|
|
|
| bool IsBlacklistUpdateUrl(const GURL& url) {
|
|
|