2010-06-04 Tony Gentilcore <tonyg@chromium.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Jun 2010 16:44:16 +0000 (16:44 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Jun 2010 16:44:16 +0000 (16:44 +0000)
commit4bec19dd37d4263eb42b6cd5c5d157e3c3cc4d1c
tree755385cbf8b139c1a332b742a3fee5b2572a2597
parent68f22ee2922ee3da39c5f7824dfeb0d1930461f5
2010-06-04  Tony Gentilcore  <tonyg@chromium.org>

        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: https://svn.webkit.org/repository/webkit/trunk@60683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
17 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/wtf/Deque.h
JavaScriptCore/wtf/MainThread.cpp
JavaScriptCore/wtf/MessageQueue.h
WebCore/ChangeLog
WebCore/css/CSSStyleSheet.cpp
WebCore/dom/XMLTokenizerLibxml2.cpp
WebCore/html/HTMLTokenizer.cpp
WebCore/platform/text/SegmentedString.cpp
WebCore/storage/Database.cpp
WebCore/storage/SQLTransaction.cpp
WebCore/storage/SQLTransactionCoordinator.cpp
WebKit2/ChangeLog
WebKit2/Platform/CoreIPC/ArgumentDecoder.cpp
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/chromium/EventSender.cpp
WebKitTools/DumpRenderTree/chromium/LayoutTestController.cpp