Ensure string data is kept alive as long as there are CSSVariableData tokens pointing to it
This change is part of animating registered custom properties. Animated CSSVariableData objects won't have the same ownership guarantees as ones owned by CSSValues. This change removes the assumption that the tokens spliced into a CSSVariableData during var() resolution will have their backing strings kept alive somewhere else and instead keeps all necessary string handles alongside the tokens. This patch introduces no changes in behaviour. BUG=671904 Review-Url: https://codereview.chromium.org/2901213005 Cr-Commit-Position: refs/heads/master@{#474970}
Showing
Please register or sign in to comment