Changeset 112264 in webkit


Ignore:
Timestamp:
Mar 27, 2012 7:32:49 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry]Cleanup WTF string in platform/network/blackberry
https://bugs.webkit.org/show_bug.cgi?id=82005

Patch by Jason Liu <jason.liu@torchmobile.com.cn> on 2012-03-27
Reviewed by Rob Buis.

No new tests. Just replace WTF::String with String.

  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::handleNotifyDataReceived):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r112263 r112264  
     12012-03-27  Jason Liu  <jason.liu@torchmobile.com.cn>
     2
     3        [BlackBerry]Cleanup WTF string in platform/network/blackberry
     4        https://bugs.webkit.org/show_bug.cgi?id=82005
     5
     6        Reviewed by Rob Buis.
     7
     8        No new tests. Just replace WTF::String with String.
     9
     10        * platform/network/blackberry/NetworkJob.cpp:
     11        (WebCore::NetworkJob::handleNotifyDataReceived):
     12
    1132012-03-27  Alexander Pavlov  <apavlov@chromium.org>
    214
  • trunk/Source/WebCore/platform/network/blackberry/NetworkJob.cpp

    r112092 r112264  
    395395        // The file extension is likely to be correct.
    396396        if (m_isFile) {
    397             WTF::String urlFilename = m_response.url().lastPathComponent();
     397            String urlFilename = m_response.url().lastPathComponent();
    398398            size_t pos = urlFilename.reverseFind('.');
    399             if (pos != WTF::notFound) {
     399            if (pos != notFound) {
    400400                String extension = urlFilename.substring(pos + 1);
    401401                String mimeType = MIMETypeRegistry::getMIMETypeForExtension(extension);
Note: See TracChangeset for help on using the changeset viewer.