[Content Filtering] forEachContentFilterUntilBlocked should accept a lambda by rvalue...
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Jan 2016 06:58:34 +0000 (06:58 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Jan 2016 06:58:34 +0000 (06:58 +0000)
commit2048512f15e54f9ce11999e7b5c0f04a37604fdd
treebe793f01995cba4a4460d14ab823b2f8e074163a
parent4932ce41f873e7c546220fbc3a3a514dc0bc3959
[Content Filtering] forEachContentFilterUntilBlocked should accept a lambda by rvalue reference
https://bugs.webkit.org/show_bug.cgi?id=153057

Reviewed by Dan Bernstein.

No new tests. No change in behavior.

Instead of having ContentFilter::forEachContentFilterUntilBlocked() take a std::function, just have it take an
rvalue reference to the lambda its passed.

* loader/ContentFilter.cpp:
(WebCore::ContentFilter::forEachContentFilterUntilBlocked):
* loader/ContentFilter.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/loader/ContentFilter.cpp
Source/WebCore/loader/ContentFilter.h