DescriptionCheck for styleResolver() in preparation for async style update.
Currently, active stylesheets are appended to ScopedStyleResolver
through the StyleResolver. When we move to async stylesheet update with
ActiveStyleSheets being appended from StyleEngine, styleResolver() is
typically null the first time we update the active stylesheets.
Add a null check before accessing styleResolver() when adding
@font-face rules.
R=nainar@chromium.org,meade@chromium.org
BUG=567021
Committed: https://crrev.com/ff9f0b0877fcbe48fef3a32fc1c86cb706764b54
Cr-Commit-Position: refs/heads/master@{#434437}
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|