| Index: content/child/npapi/plugin_url_fetcher.cc
|
| diff --git a/content/child/npapi/plugin_url_fetcher.cc b/content/child/npapi/plugin_url_fetcher.cc
|
| index 6a6fc100e7fee79673f7193f7d43a1527accec57..42617ab894123459a082a7de4b90f18c39b883d5 100644
|
| --- a/content/child/npapi/plugin_url_fetcher.cc
|
| +++ b/content/child/npapi/plugin_url_fetcher.cc
|
| @@ -307,7 +307,7 @@ void PluginURLFetcher::OnReceivedResponse(const ResourceResponseInfo& info) {
|
| // of the HTTP requests issued via NPN_GetURLNotify. Webkit and FF destroy
|
| // the stream and invoke the NPP_DestroyStream function on the plugin if the
|
| // HTTPrequest fails.
|
| - if ((url_.SchemeIs("http") || url_.SchemeIs("https")) &&
|
| + if ((url_.SchemeIs(url::kHttpScheme) || url_.SchemeIs(url::kHttpsScheme)) &&
|
| (response_code < 100 || response_code >= 400)) {
|
| pending_failure_notification_ = true;
|
| }
|
|
|