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 d48031ce4df847e4ffdb4dba9c8a4e9ed7380bc1..583d94ef7dc636c5123db0e9226730b9c12369c9 100644 |
--- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp |
@@ -163,8 +163,7 @@ bool DOMWindow::isSecureContext() const |
if (!frame()) |
return false; |
- String unusedErrorMessage; |
- return document()->isSecureContext(unusedErrorMessage, ExecutionContext::StandardSecureContextCheck); |
+ return document()->isSecureContext(ExecutionContext::StandardSecureContextCheck); |
} |
void DOMWindow::postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, const String& targetOrigin, LocalDOMWindow* source, ExceptionState& exceptionState) |