Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
index 1e6b1b694ac7b88a8a454348bce30302a726f0e7..bd10ab0c91e6723556f3074c0c7b140f7b5cbdf6 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
@@ -1658,8 +1658,9 @@ DOMWindow* LocalDOMWindow::open(const String& url_string, |
if (target_frame) { |
if (!active_document->GetFrame() || |
- !active_document->GetFrame()->CanNavigate(*target_frame)) |
+ !active_document->GetFrame()->CanNavigate(*target_frame)) { |
return nullptr; |
+ } |
KURL completed_url = first_frame->GetDocument()->CompleteURL(url_string); |