Changeset 30267 in webkit


Ignore:
Timestamp:
Feb 15, 2008 3:41:23 AM (16 years ago)
Author:
alp@webkit.org
Message:

2008-02-15 Alp Toker <alp@atoker.com>

Fix the GTK+ build following breakage introduced in r30243.

  • WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::mouseDidMoveOverElement):
  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::objectContentType):
Location:
trunk/WebKit/gtk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/gtk/ChangeLog

    r30251 r30267  
     12008-02-15  Alp Toker  <alp@atoker.com>
     2
     3        Fix the GTK+ build following breakage introduced in r30243.
     4
     5        * WebCoreSupport/ChromeClientGtk.cpp:
     6        (WebKit::ChromeClient::mouseDidMoveOverElement):
     7        * WebCoreSupport/FrameLoaderClientGtk.cpp:
     8        (WebKit::FrameLoaderClient::objectContentType):
     9
    1102008-02-15  Darin Adler  <darin@apple.com>
    211
  • trunk/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp

    r29698 r30267  
    280280        if (!url.isEmpty() && url != m_hoveredLinkURL) {
    281281            CString titleString = hit.title().utf8();
    282             DeprecatedCString urlString = url.prettyURL().utf8();
     282            CString urlString = url.prettyURL().utf8();
    283283            g_signal_emit_by_name(m_webView, "hovering-over-link", titleString.data(), urlString.data());
    284284            m_hoveredLinkURL = url;
  • trunk/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp

    r30226 r30267  
    316316{
    317317    String type = mimeType;
     318    // We don't use MIMETypeRegistry::getMIMETypeForPath() because it returns "application/octet-stream" upon failure
    318319    if (type.isEmpty())
    319         type = MIMETypeRegistry::getMIMETypeForExtension(url.path().mid(url.path().findRev('.') + 1));
     320        type = MIMETypeRegistry::getMIMETypeForExtension(url.path().substring(url.path().reverseFind('.') + 1));
    320321
    321322    if (type.isEmpty())
Note: See TracChangeset for help on using the changeset viewer.