| Index: third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| index 3e4723950ddf5d5b5f8e47f46bf2669a907f6d40..0d85f6914c03d7e7c3eca2e647a6f1b27c238547 100644
|
| --- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| @@ -132,8 +132,8 @@ bool DOMWindow::isCurrentlyDisplayedInFrame() const {
|
| }
|
|
|
| bool DOMWindow::isInsecureScriptAccess(LocalDOMWindow& callingWindow,
|
| - const String& urlString) {
|
| - if (!protocolIsJavaScript(urlString))
|
| + const KURL& url) {
|
| + if (!url.protocolIsJavaScript())
|
| return false;
|
|
|
| // If this DOMWindow isn't currently active in the Frame, then there's no
|
|
|