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

Issue 2042653002: Make CSSPropertyParser::addProperty take a const CSSValue& (Closed)

Created:
4 years, 6 months ago by sashab
Modified:
4 years, 5 months ago
Reviewers:
Timothy Loh
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@_make_cssvaluelist_and_computedstylemapping_store_const
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make CSSPropertyParser::addProperty take a const CSSValue& Make CSSPropertyParser::addProperty take a const CSSValue&. This is an entirely mechanical change, is more semantically correct and safe, and is pre-work for making CSSPropertyParser::parseSingleValue return a const CSSValue*. This patch also involved making MutableStylePropertySet::setProperty() and some StringKeyframe methods take/return a const CSSValue ptr. BUG=526586 Committed: https://crrev.com/b39abd27bae2248520b90fe932504afbbd7debd6 Cr-Commit-Position: refs/heads/master@{#405060}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Review feedback #

Patch Set 4 : Removed comment and commented-out unused function #

Patch Set 5 : Rebase onto new work and some other related changes #

Patch Set 6 : Removed unrealted chaemoved unrelated change #

Patch Set 7 : Removed unrelated change #

Patch Set 8 : Rebase #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -123 lines) Patch
M third_party/WebKit/Source/core/animation/StringKeyframe.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/StringKeyframe.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/StylePropertySet.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/StylePropertySet.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 5 6 7 8 9 38 chunks +115 lines, -115 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
sashab
4 years, 6 months ago (2016-06-06 01:33:43 UTC) #2
Timothy Loh
On 2016/06/06 01:33:43, sashab wrote: I guess this should be const ref because it's nonnull?
4 years, 6 months ago (2016-06-06 02:58:53 UTC) #3
sashab
Make return reference instead & updated CL description. Will also make CSSProperty() take a const ...
4 years, 6 months ago (2016-06-06 03:34:29 UTC) #5
sashab
Errr.. Hold on. Putting this patch on hold until I've done some prereq work to ...
4 years, 6 months ago (2016-06-06 04:23:40 UTC) #6
sashab
Ok... That all looks right. It now goes on top of the StringKeyframe stuff in ...
4 years, 6 months ago (2016-06-06 04:38:26 UTC) #8
Timothy Loh
lgtm
4 years, 6 months ago (2016-06-07 03:58:03 UTC) #9
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/2042653002/180001
4 years, 5 months ago (2016-07-13 06:39:51 UTC) #12
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-07-13 07:04:25 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 07:04:32 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 07:07:14 UTC) #16
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/b39abd27bae2248520b90fe932504afbbd7debd6
Cr-Commit-Position: refs/heads/master@{#405060}

Powered by Google App Engine
This is Rietveld 408576698