2007-12-22 Alp Toker <alp@atoker.com>
authoralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Dec 2007 20:03:58 +0000 (20:03 +0000)
committeralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Dec 2007 20:03:58 +0000 (20:03 +0000)
        LOW_BANDWIDTH_DISPLAY build fix

        Track recent KURL DeprecatedString changes.

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28960 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/loader/FrameLoader.cpp

index 92c6dbc5fb2a25032d2021b0f651c66f155d6896..6300d4f41601667369eeefa14f40426c4e535fe1 100644 (file)
@@ -1,3 +1,12 @@
+2007-12-22  Alp Toker  <alp@atoker.com>
+
+        LOW_BANDWIDTH_DISPLAY build fix
+
+        Track recent KURL DeprecatedString changes.
+
+        * loader/FrameLoader.cpp:
+        (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady):
+
 2007-12-22  Dan Bernstein  <mitz@apple.com>
 
         - Windows build fix
 2007-12-22  Dan Bernstein  <mitz@apple.com>
 
         - Windows build fix
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);
             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();
             if (m_decoder)
                 newDoc->setDecoder(m_decoder.get());
             restoreDocumentState();