Use a builder-like pattern for CSSParserLocalContext.
It will soon be necessary to add more flags to CSSParserLocalContext in order to parse custom properties via the CustomProperty class. Those flags are not interesting to non-custom call sites, so it's more convenient if CSSParserLocalContext is a class with reasonable defaults that can be overridden. Change-Id: I078d8faa4cbce5de8db24b60e0817625d7deae5f Reviewed-on: https://chromium-review.googlesource.com/c/1341914 Commit-Queue: Anders Ruud <andruud@chromium.org> Reviewed-by:Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#609982}
Showing
Please register or sign in to comment