Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Issue 2901213005: Ensure string data is kept alive as long as there are CSSVariableData tokens pointing to it (Closed)

Created:
3 years, 7 months ago by alancutter (OOO until 2018)
Modified:
3 years, 7 months ago
Reviewers:
shend
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

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} Committed: https://chromium.googlesource.com/chromium/src/+/ee6e4b4ccc884117e4e7069b69d953306be9d7b1

Patch Set 1 #

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -52 lines) Patch
M third_party/WebKit/Source/core/css/CSSVariableData.h View 1 2 chunks +10 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSVariableData.cpp View 3 chunks +15 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h View 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp View 7 chunks +37 lines, -27 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (8 generated)
alancutter (OOO until 2018)
3 years, 7 months ago (2017-05-25 07:44:37 UTC) #4
alancutter (OOO until 2018)
Redirecting review as timloh no longer works on style code.
3 years, 7 months ago (2017-05-26 06:17:09 UTC) #7
shend
lgtm
3 years, 7 months ago (2017-05-26 06:28:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2901213005/20001
3 years, 7 months ago (2017-05-26 06:41:50 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 08:54:07 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ee6e4b4ccc884117e4e7069b69d9...

Powered by Google App Engine
This is Rietveld 408576698