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

Issue 645073003: Move special code for 'shape-outside' out of StyleBuilderFunctions.cpp.tmpl. (Closed)

Created:
6 years, 2 months ago by andersr
Modified:
6 years, 2 months ago
Reviewers:
Timothy Loh
CC:
blink-reviews, blink-reviews-css, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Move special code for 'shape-outside' out of StyleBuilderFunctions.cpp.tmpl. There should not be special code generation for a single property, at least not in cases where a converter can easily be used instead. Changes: * Assume that 'value' is either 'none', an image value, or a list of values. * Use primitive value mapping for CSSBoxType, since parser ensures that only valid values go though. R=timloh@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183982

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove unreachable nullptr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -37 lines) Patch
M Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl View 1 chunk +0 lines, -36 lines 0 comments Download
M Source/core/css/CSSProperties.in View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/resolver/StyleBuilderConverter.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/resolver/StyleBuilderConverter.cpp View 1 2 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
andersr
6 years, 2 months ago (2014-10-20 12:19:08 UTC) #1
Timothy Loh
lgtm https://codereview.chromium.org/645073003/diff/1/Source/core/css/resolver/StyleBuilderConverter.cpp File Source/core/css/resolver/StyleBuilderConverter.cpp (right): https://codereview.chromium.org/645073003/diff/1/Source/core/css/resolver/StyleBuilderConverter.cpp#newcode732 Source/core/css/resolver/StyleBuilderConverter.cpp:732: ASSERT(value->isValueList()); I wouldn't bother with this since toCSSValueList ...
6 years, 2 months ago (2014-10-20 12:29:57 UTC) #2
andersr
https://codereview.chromium.org/645073003/diff/1/Source/core/css/resolver/StyleBuilderConverter.cpp File Source/core/css/resolver/StyleBuilderConverter.cpp (right): https://codereview.chromium.org/645073003/diff/1/Source/core/css/resolver/StyleBuilderConverter.cpp#newcode749 Source/core/css/resolver/StyleBuilderConverter.cpp:749: return nullptr; On 2014/10/20 12:29:57, Timothy Loh wrote: > ...
6 years, 2 months ago (2014-10-20 12:36:03 UTC) #3
Timothy Loh
On 2014/10/20 12:36:03, andersr wrote: > https://codereview.chromium.org/645073003/diff/1/Source/core/css/resolver/StyleBuilderConverter.cpp > File Source/core/css/resolver/StyleBuilderConverter.cpp (right): > > https://codereview.chromium.org/645073003/diff/1/Source/core/css/resolver/StyleBuilderConverter.cpp#newcode749 > ...
6 years, 2 months ago (2014-10-20 12:44:10 UTC) #4
andersr
On 2014/10/20 12:44:10, Timothy Loh wrote: > On 2014/10/20 12:36:03, andersr wrote: > > > ...
6 years, 2 months ago (2014-10-20 13:07:48 UTC) #5
Timothy Loh
still lgtm :)
6 years, 2 months ago (2014-10-20 13:10:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645073003/20001
6 years, 2 months ago (2014-10-20 13:15:09 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-20 14:17:37 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 183982

Powered by Google App Engine
This is Rietveld 408576698