Changeset 31041 in webkit


Ignore:
Timestamp:
Mar 13, 2008 2:31:14 PM (16 years ago)
Author:
Antti Koivisto
Message:

Reviewed by Eric.

Correct a few issues spotted by Mike Belshe.

  • html/PreloadScanner.cpp: (WebCore::PreloadScanner::tokenize):
  • loader/loader.cpp: (WebCore::Loader::cancelRequests):
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r31040 r31041  
     12008-03-13  Antti Koivisto  <antti@apple.com>
     2
     3        Reviewed by Eric.
     4
     5        Correct a few issues spotted by Mike Belshe.
     6
     7        * html/PreloadScanner.cpp:
     8        (WebCore::PreloadScanner::tokenize):
     9        * loader/loader.cpp:
     10        (WebCore::Loader::cancelRequests):
     11
    1122008-03-13  Rodney Dawes  <dobey@wayofthemonkey.com>
    213
  • trunk/WebCore/html/PreloadScanner.cpp

    r31038 r31041  
    373373                }
    374374                m_source.prepend(SegmentedString(String(tmpString.data(), tmpString.size())));
    375                 if (!match || (!isWhitespace(tmpChar) && tmpChar != '>' & tmpChar != '/')) {
     375                if (!match || (!isWhitespace(tmpChar) && tmpChar != '>' && tmpChar != '/')) {
    376376                    m_state = Data;
    377377                    continue;
  • trunk/WebCore/loader/loader.cpp

    r31038 r31041  
    166166    for (HostMap::iterator it = m_hosts.begin(); it != end; ++it) {
    167167        Host* host = it->second;
    168         if (host->hasRequests());
     168        if (host->hasRequests())
    169169            host->cancelRequests(docLoader);
    170170    }
Note: See TracChangeset for help on using the changeset viewer.