WebKit/gtk:
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Dec 2007 08:41:12 +0000 (08:41 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Dec 2007 08:41:12 +0000 (08:41 +0000)
        Build fix.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::didChangeTitle):

WebKit/qt:

        Build fix.

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::userAgent):

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

WebKit/gtk/ChangeLog
WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
WebKit/qt/ChangeLog
WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp

index b373d5d02450325f86cfb57d501b30802bd90903..64af2fa8f44302e69d81a72f21db4765dc8625d8 100644 (file)
@@ -1,3 +1,10 @@
+2007-12-12  Sam Weinig  <sam@webkit.org>
+
+        Build fix.
+
+        * WebCoreSupport/FrameLoaderClientGtk.cpp:
+        (WebKit::FrameLoaderClient::didChangeTitle):
+
 2007-12-12  Sam Weinig  <sam@webkit.org>
 
         Build fix.
index 5a2c6df2d99ee815d34b1e3a631315babb2d4e77..0aa2c8494dbc65d876c7887044c6677a01e644c2 100644 (file)
@@ -469,7 +469,7 @@ void FrameLoaderClient::dispatchDidLoadMainResource(DocumentLoader*) { notImplem
 void FrameLoaderClient::revertToProvisionalState(DocumentLoader*) { notImplemented(); }
 void FrameLoaderClient::clearUnarchivingState(DocumentLoader*) { notImplemented(); }
 void FrameLoaderClient::willChangeTitle(DocumentLoader*) { notImplemented(); }
-void FrameLoaderClient::didChangeTitle(DocumentLoader *l) { setTitle(l->title(), l->URL()); }
+void FrameLoaderClient::didChangeTitle(DocumentLoader *l) { setTitle(l->title(), l->url()); }
 void FrameLoaderClient::finalSetupForReplace(DocumentLoader*) { notImplemented(); }
 void FrameLoaderClient::setDefersLoading(bool) { notImplemented(); }
 bool FrameLoaderClient::isArchiveLoadPending(ResourceLoader*) const { notImplemented(); return false; }
index 04e788adf663be16367d3ac6fd3d47285b2594d9..84c904cdf01d519c129ed179a2a295bb2eb41df2 100644 (file)
@@ -1,3 +1,10 @@
+2007-12-12  Sam Weinig  <sam@webkit.org>
+
+        Build fix.
+
+        * WebCoreSupport/FrameLoaderClientQt.cpp:
+        (WebCore::FrameLoaderClientQt::userAgent):
+
 2007-12-12  Sam Weinig  <sam@webkit.org>
 
         Build fix.
index 3b7241dcbeee6729a1365e06a11c038fbb28d60b..702a14e625b84a158e785e60f5a5e4fdd5473e26 100644 (file)
@@ -544,7 +544,7 @@ void FrameLoaderClientQt::setTitle(const String&, const KURL&)
 String FrameLoaderClientQt::userAgent(const KURL& url)
 {
     if (m_webFrame) {
-        return m_webFrame->page()->userAgentFor(QUrl((QString)url.url()));
+        return m_webFrame->page()->userAgentFor(QUrl((QString)url.string()));
     }
     return String();
 }