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 05af446924bb04756f3ea4683a41b79fa907ecd3..7837cc17c4b58bd37b60232802b9f898d5e034f4 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()) |