WebCore:
[WebKit-https.git] / WebKit / mac / WebCoreSupport / WebFrameLoaderClient.mm
index b926a2c8d38ca11835981097132623face0724a3..92c013fb3dffed33a2fafc390541a0bfbb57cd22 100644 (file)
@@ -944,7 +944,8 @@ PassRefPtr<DocumentLoader> WebFrameLoaderClient::createDocumentLoader(const Reso
 // Once that task is complete, this will go away
 void WebFrameLoaderClient::setTitle(const String& title, const KURL& URL)
 {
-    NSURL* nsURL = canonicalURL(URL);
+    NSURL* nsURL = URL;
+    nsURL = [nsURL _webkit_canonicalize];
     if(!nsURL)
         return;
     NSString *titleNSString = title;