2007-11-11 Alp Toker <alp@atoker.com>
authoralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Nov 2007 00:25:49 +0000 (00:25 +0000)
committeralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Nov 2007 00:25:49 +0000 (00:25 +0000)
        Reviewed by Anders.

        Initialize m_userAgent.

        Fix typos in GDK_WINDOWING conditionals.

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

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

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

index a6ed59fcc0f9cbb84b9470a5c45e71019024cd99..11957b3a6b19dc1c96775c3dc89b4fea09be2b93 100644 (file)
@@ -1,3 +1,15 @@
+2007-11-11  Alp Toker  <alp@atoker.com>
+
+        Reviewed by Anders.
+
+        Initialize m_userAgent.
+
+        Fix typos in GDK_WINDOWING conditionals.
+
+        * WebCoreSupport/FrameLoaderClientGtk.cpp:
+        (WebKit::FrameLoaderClient::FrameLoaderClient):
+        (WebKit::agentPlatform):
+
 2007-11-11  Alp Toker  <alp@atoker.com>
 
         Reviewed by Mark Rowe.
index 7780179c3695fc69443ce389b539c3838902a7fa..ab29248254450180782c31750b3b4a5fa1c73de8 100644 (file)
@@ -62,6 +62,7 @@ namespace WebKit {
 
 FrameLoaderClient::FrameLoaderClient(WebKitFrame* frame)
     : m_frame(frame)
+    , m_userAgent("")
 {
     ASSERT(m_frame);
 }
@@ -70,11 +71,11 @@ static String agentPlatform()
 {
 #ifdef GDK_WINDOWING_X11
     return "X11";
-#elif defined(GTK_WINDOWING_WIN32)
+#elif defined(GDK_WINDOWING_WIN32)
     return "Windows";
-#elif defined(GTK_WINDOWING_QUARTZ)
+#elif defined(GDK_WINDOWING_QUARTZ)
     return "Macintosh";
-#elif defined(GTK_WINDOWING_DIRECTFB)
+#elif defined(GDK_WINDOWING_DIRECTFB)
     return "DirectFB";
 #else
     notImplemented();