diff options
Diffstat (limited to 'Source/WebCore/page/Location.cpp')
-rw-r--r-- | Source/WebCore/page/Location.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/WebCore/page/Location.cpp b/Source/WebCore/page/Location.cpp index 4835a83..5af48cf 100644 --- a/Source/WebCore/page/Location.cpp +++ b/Source/WebCore/page/Location.cpp @@ -64,7 +64,8 @@ String Location::href() const return String(); const KURL& url = this->url(); - return url.hasPath() ? url.prettyURL() : url.prettyURL() + "/"; + // FIXME: Stop using deprecatedString(): https://bugs.webkit.org/show_bug.cgi?id=30225 + return url.hasPath() ? url.deprecatedString() : url.deprecatedString() + "/"; } String Location::protocol() const @@ -153,7 +154,8 @@ String Location::toString() const return String(); const KURL& url = this->url(); - return url.hasPath() ? url.prettyURL() : url.prettyURL() + "/"; + // FIXME: Stop using deprecatedString(): https://bugs.webkit.org/show_bug.cgi?id=30225 + return url.hasPath() ? url.deprecatedString() : url.deprecatedString() + "/"; } void Location::setHref(const String& urlString, DOMWindow* activeWindow, DOMWindow* firstWindow) |