diff options
Diffstat (limited to 'content/plugin/webplugin_proxy.cc')
-rw-r--r-- | content/plugin/webplugin_proxy.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc index 73d527b..8a035d5 100644 --- a/content/plugin/webplugin_proxy.cc +++ b/content/plugin/webplugin_proxy.cc @@ -288,8 +288,8 @@ void WebPluginProxy::HandleURLRequest(const char* url, if (delegate_->GetQuirks() & WebPluginDelegateImpl::PLUGIN_QUIRK_BLOCK_NONSTANDARD_GETURL_REQUESTS) { GURL request_url(url); - if (!request_url.SchemeIs(kHttpScheme) && - !request_url.SchemeIs(kHttpsScheme) && + if (!request_url.SchemeIs(url::kHttpScheme) && + !request_url.SchemeIs(url::kHttpsScheme) && !request_url.SchemeIs(kFtpScheme)) { return; } |