DescriptionCSSValue Immediates: Change RefPtr<CSSValue> to store tagged pointers
Specializes RefPtr<CSSValue> and RefPtr<CSSPrimitiveValue> to be able to
store immediates, as well as objects. Also modified the
CSSPrimitiveValue::create() methods to create immediates for doubles,
colors, valueIDs and propertyIDs, where possible.
This is part of a larger refactor of CSSValue to introduce immediates,
discussed on the bug.
BUG=486252
COMMIT=false
Patch Set 1 #Patch Set 2 : Small equality fix #Patch Set 3 : Small fix for windows compile #Patch Set 4 : Attempt to fix template linking errors #Patch Set 5 : Added micro-benchmark and more inlining/optimizations #Patch Set 6 : Patch reduction to most basic #Patch Set 7 : Small fix #Patch Set 8 : Small ordering fix to fix function matching #Patch Set 9 : Small fix for windows #Patch Set 10 : Rebase #
Dependent Patchsets: |