REGRESSION(r225650): The scores of MotionMark tests Multiply and Leaves dropped by 8%
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Jan 2018 17:50:00 +0000 (17:50 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Jan 2018 17:50:00 +0000 (17:50 +0000)
commit3d15e223b26163f36df13c30187e777ba6e6b9a6
tree5510651b2363669cfaad7943a17133beac52d321
parentb0b0ab919fa030ac86cf7325a8e4c73bdda99266
REGRESSION(r225650): The scores of MotionMark tests Multiply and Leaves dropped by 8%
https://bugs.webkit.org/show_bug.cgi?id=181460
<rdar://problem/36379776>

Reviewed by Ryosuke Niwa.

* css/parser/CSSParser.cpp:
(WebCore::CSSParserContext::CSSParserContext):

Don't do the expensive security origin test if the supplied sheet base URL is null. This
is true for rules coming from the same document.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/css/parser/CSSParser.cpp