diff options
Diffstat (limited to 'content/renderer/npapi/webplugin_impl.cc')
-rw-r--r-- | content/renderer/npapi/webplugin_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/npapi/webplugin_impl.cc b/content/renderer/npapi/webplugin_impl.cc index 21e80b6..d898011 100644 --- a/content/renderer/npapi/webplugin_impl.cc +++ b/content/renderer/npapi/webplugin_impl.cc @@ -716,7 +716,7 @@ WebPluginImpl::RoutingStatus WebPluginImpl::RouteToFrame( if (strcmp(method, "GET") != 0) { // We're only going to route HTTP/HTTPS requests - if (!(complete_url.SchemeIs("http") || complete_url.SchemeIs("https"))) + if (!complete_url.SchemeIsHTTPOrHTTPS()) return INVALID_URL; } |