Skip to content
  • eric@webkit.org's avatar
    2010-06-04 Tony Gentilcore <tonyg@chromium.org> · 2a276abe
    eric@webkit.org authored
            Reviewed by Adam Barth.
    
            Add a takeFirst() method to Deque and use it where appropriate.
            https://bugs.webkit.org/show_bug.cgi?id=40089
    
            * wtf/Deque.h:
            (WTF::::takeFirst):
            * wtf/MainThread.cpp:
            (WTF::dispatchFunctionsFromMainThread):
            * wtf/MessageQueue.h:
            (WTF::::tryGetMessage):
    2010-06-04  Tony Gentilcore  <tonyg@chromium.org>
    
            Reviewed by Adam Barth.
    
            Utilize new takeFirst() method where appropriate.
            https://bugs.webkit.org/show_bug.cgi?id=40089
    
            No new tests because no new functionality.
    
            * css/CSSStyleSheet.cpp:
            (WebCore::CSSStyleSheet::addSubresourceStyleURLs):
            * dom/XMLTokenizerLibxml2.cpp:
            (WebCore::PendingCallbacks::callAndRemoveFirstCallback):
            * html/HTMLTokenizer.cpp:
            (WebCore::HTMLTokenizer::reset):
            (WebCore::HTMLTokenizer::executeExternalScriptsIfReady):
            * platform/text/SegmentedString.cpp:
            (WebCore::SegmentedString::advanceSubstring):
            * storage/Database.cpp:
            (WebCore::Database::scheduleTransaction):
            * storage/SQLTransaction.cpp:
            (WebCore::SQLTransaction::getNextStatement):
            * storage/SQLTransactionCoordinator.cpp:
            (WebCore::SQLTransactionCoordinator::processPendingTransactions):
    2010-06-04  Tony Gentilcore  <tonyg@chromium.org>
    
            Reviewed by Adam Barth.
    
            Utilize new takeFirst() method where appropriate.
            https://bugs.webkit.org/show_bug.cgi?id=40089
    
            * Platform/CoreIPC/ArgumentDecoder.cpp:
            (CoreIPC::ArgumentDecoder::removeAttachment):
    2010-06-04  Tony Gentilcore  <tonyg@chromium.org>
    
            Reviewed by Adam Barth.
    
            Utilize new takeFirst() method where appropriate.
            https://bugs.webkit.org/show_bug.cgi?id=40089
    
            * DumpRenderTree/chromium/EventSender.cpp:
            (EventSender::replaySavedEvents):
            * DumpRenderTree/chromium/LayoutTestController.cpp:
            (LayoutTestController::WorkQueue::processWork):
            (LayoutTestController::WorkQueue::reset):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2a276abe