Index: third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp |
index 88be6698d689f437bdd3657d96da553c12d95759..0895066db382c03d078e4621e2deaffa83004bc4 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp |
@@ -97,7 +97,7 @@ void HTMLFrameElementBase::openURL(bool replaceCurrentItem) { |
// so that the frame is populated with something reasonable. |
if (ContentSecurityPolicy::shouldBypassMainWorld(&document()) || |
document().contentSecurityPolicy()->allowJavaScriptURLs( |
- this, document().url(), OrdinalNumber::first())) { |
+ this, url.getString(), document().url(), OrdinalNumber::first())) { |
scriptURL = url; |
} else { |
if (contentFrame()) |