DescriptionMark stylesheet as having media queries at consume time.
Marking the stylesheet as having media queries for @media at insertion
time meant we didn't mark the stylesheet when @media was a child rule
of another @-rule like @supports. Instead do the marking from the
consume method like we already did for @font-face rules.
Removed unnecessary marking from insertion methods and an unnecessary
boolean parameter which was always true.
R=timloh@chromium.org
BUG=621502
Committed: https://crrev.com/feb31417375d9bd2cc2f383516c0485dc615286d
Cr-Commit-Position: refs/heads/master@{#402766}
Patch Set 1 #Patch Set 2 : Fixed webkit_unit_tests regression #Patch Set 3 #Patch Set 4 : Back to marking at consume time #
Messages
Total messages: 29 (12 generated)
|