diff options
author | mnaganov <mnaganov@chromium.org> | 2015-08-05 09:07:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-05 16:09:34 +0000 |
commit | 2cee4bd1fefcb31a4407b114ab35b8d768b67559 (patch) | |
tree | eb783b364aad6728078e2e7e69413589cbe3a9cf /android_webview/renderer | |
parent | 7776f2bce4099de007033efa1fa5f01a4d9d137b (diff) | |
download | chromium_src-2cee4bd1fefcb31a4407b114ab35b8d768b67559.zip chromium_src-2cee4bd1fefcb31a4407b114ab35b8d768b67559.tar.gz chromium_src-2cee4bd1fefcb31a4407b114ab35b8d768b67559.tar.bz2 |
The scheme granting code seems to become redundant, even for
multi-process mode.
Also, removed duplicate constant for the "content:" scheme.
BUG=516546
Review URL: https://codereview.chromium.org/1269783007
Cr-Commit-Position: refs/heads/master@{#341909}
Diffstat (limited to 'android_webview/renderer')
-rw-r--r-- | android_webview/renderer/aw_content_renderer_client.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android_webview/renderer/aw_content_renderer_client.cc b/android_webview/renderer/aw_content_renderer_client.cc index f1ccc5d..9afbca9 100644 --- a/android_webview/renderer/aw_content_renderer_client.cc +++ b/android_webview/renderer/aw_content_renderer_client.cc @@ -33,6 +33,7 @@ #include "third_party/WebKit/public/web/WebFrame.h" #include "third_party/WebKit/public/web/WebSecurityPolicy.h" #include "url/gurl.h" +#include "url/url_constants.h" using content::RenderThread; @@ -45,8 +46,7 @@ AwContentRendererClient::~AwContentRendererClient() { } void AwContentRendererClient::RenderThreadStarted() { - blink::WebString content_scheme( - base::ASCIIToUTF16(android_webview::kContentScheme)); + blink::WebString content_scheme(base::ASCIIToUTF16(url::kContentScheme)); blink::WebSecurityPolicy::registerURLSchemeAsLocal(content_scheme); blink::WebString aw_scheme( |