Add early return when processing content extensions if there aren't any.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Jul 2016 20:46:14 +0000 (20:46 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Jul 2016 20:46:14 +0000 (20:46 +0000)
commit96fafe73f08905c925d5fd21d33f0b7e7bb933c8
tree3d26a3e7caca6d382ee5f07a44f39470be5cfd79
parentd3f687d9c6db0db3d0180612bda489f08496fc26
Add early return when processing content extensions if there aren't any.
<https://webkit.org/b/159363>

Reviewed by Antti Koivisto.

Short-circuit outta there if there aren't any extensions to query.

* contentextensions/ContentExtensionsBackend.cpp:
(WebCore::ContentExtensions::ContentExtensionsBackend::processContentExtensionRulesForLoad):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/contentextensions/ContentExtensionsBackend.cpp