Commit 54fb9abf authored by alp@webkit.org's avatar alp@webkit.org

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):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3e2e4e28
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.
......
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment