2007-12-22 Alp Toker <alp@atoker.com>
[WebKit-https.git] / WebCore / loader / FrameLoader.cpp
index 159cf2578cbe53337f901a597c05e000f81b6152..030069128aa73931dfa6b5dfe0d9be18aa7d1c33 100644 (file)
@@ -4775,8 +4775,8 @@ void FrameLoader::switchOutLowBandwidthDisplayIfReady()
             RefPtr<Document> newDoc = DOMImplementation::instance()->
                 createDocument(m_responseMIMEType, m_frame, m_frame->inViewSourceMode());
             m_frame->setDocument(newDoc);
-            newDoc->setURL(m_URL.url());
-            newDoc->setBaseURL(m_URL.url());
+            newDoc->setURL(m_URL.deprecatedString());
+            newDoc->setBaseURL(m_URL.deprecatedString());
             if (m_decoder)
                 newDoc->setDecoder(m_decoder.get());
             restoreDocumentState();