Index: Source/core/html/HTMLKeygenElement.cpp |
diff --git a/Source/core/html/HTMLKeygenElement.cpp b/Source/core/html/HTMLKeygenElement.cpp |
index a8345247478f8defc18912c7a099c5d8757620d4..591a70acb690dc700dc72da97ed76e175abcfd5a 100644 |
--- a/Source/core/html/HTMLKeygenElement.cpp |
+++ b/Source/core/html/HTMLKeygenElement.cpp |
@@ -83,7 +83,7 @@ bool HTMLKeygenElement::appendFormData(FormDataList& encoding, bool) |
const AtomicString& keyType = fastGetAttribute(keytypeAttr); |
if (!keyType.isNull() && !equalIgnoringCase(keyType, "rsa")) |
return false; |
- String value = signedPublicKeyAndChallengeString(shadowSelect()->selectedIndex(), fastGetAttribute(challengeAttr), document().baseURL()); |
+ String value = signedPublicKeyAndChallengeString(shadowSelect()->selectedIndex(), fastGetAttribute(challengeAttr), treeScope().baseURL()); |
if (value.isNull()) |
return false; |
encoding.appendData(name(), value.utf8()); |