| Index: Source/core/html/HTMLAppletElement.cpp
|
| diff --git a/Source/core/html/HTMLAppletElement.cpp b/Source/core/html/HTMLAppletElement.cpp
|
| index 242e2ea2110e5537abe551532a048fd9f68d970b..cf30516371e50980a4d49b7e8e9024455d0afef4 100644
|
| --- a/Source/core/html/HTMLAppletElement.cpp
|
| +++ b/Source/core/html/HTMLAppletElement.cpp
|
| @@ -127,7 +127,7 @@ void HTMLAppletElement::updateWidgetInternal()
|
|
|
| const AtomicString& codeBase = getAttribute(codebaseAttr);
|
| if (!codeBase.isNull()) {
|
| - KURL codeBaseURL = document().completeURL(codeBase);
|
| + KURL codeBaseURL = treeScope().completeURL(codeBase);
|
| paramNames.append("codeBase");
|
| paramValues.append(codeBase.string());
|
| }
|
| @@ -148,7 +148,7 @@ void HTMLAppletElement::updateWidgetInternal()
|
| // attribute is set, then 'code' points to a class inside the archive, so we need to check the
|
| // url generated by resolving 'archive' against 'codebase'.
|
| KURL urlToCheck;
|
| - KURL rootURL = codeBase.isNull() ? document().url() : document().completeURL(codeBase);
|
| + KURL rootURL = codeBase.isNull() ? document().url() : treeScope().completeURL(codeBase);
|
| if (!archive.isNull())
|
| urlToCheck = KURL(rootURL, archive);
|
| else if (!code.isNull())
|
| @@ -163,7 +163,7 @@ void HTMLAppletElement::updateWidgetInternal()
|
| }
|
|
|
| paramNames.append("baseURL");
|
| - KURL baseURL = document().baseURL();
|
| + KURL baseURL = treeScope().baseURL();
|
| paramValues.append(baseURL.string());
|
|
|
| const AtomicString& mayScript = getAttribute(mayscriptAttr);
|
|
|