2010-06-04 Tony Gentilcore <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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):