Test the waters and begin using lambdas
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 17:45:38 +0000 (17:45 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 17:45:38 +0000 (17:45 +0000)
commit20c87dc31958b2647e3a7504e6e091925851acf2
tree70d0a8a803211851fd08ff62c249cab5f4b3d429
parentad75ea761c282ab8fbc0eb9bdcb471ea2add160b
Test the waters and begin using lambdas
https://bugs.webkit.org/show_bug.cgi?id=121809

Reviewed by Andreas Kling.

Source/WebCore:

Use lambdas instead of static functions and function objects.

* css/MediaQuery.cpp:
(WebCore::MediaQuery::MediaQuery):
* dom/MutationObserver.cpp:
(WebCore::MutationObserver::deliverAllMutations):
* page/CaptionUserPreferences.cpp:
(WebCore::CaptionUserPreferences::sortedTrackListForMenu):

Source/WTF:

* wtf/ListDump.h:
(WTF::sortedListDump):
Use std::less instead of a custom lessThan function.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/ListDump.h
Source/WebCore/ChangeLog
Source/WebCore/css/MediaQuery.cpp
Source/WebCore/dom/MutationObserver.cpp
Source/WebCore/page/CaptionUserPreferences.cpp