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

Issue 2860283003: Refactored out property specific logic in ConsumeBorderImageSlice. (Closed)

Created:
3 years, 7 months ago by Bugs Nash
Modified:
3 years, 7 months ago
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

Refactored out property specific logic in ConsumeBorderImageSlice. Replaced property specific logic in ConsumeBorderImageSlice with a bool arg specifying whether the property has fill set by default. This removes the need to pass property to the method, moving the property specific logic to the calling method, which can later be separated out into property APIs. BUG=668012 Review-Url: https://codereview.chromium.org/2860283003 Cr-Commit-Position: refs/heads/master@{#470256} Committed: https://chromium.googlesource.com/chromium/src/+/2bef7b29ce7529f8512e76226f8690d67e2a0b97

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed review #

Total comments: 4

Patch Set 3 : addressed review #

Patch Set 4 : fixed bug - argument order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -26 lines) Patch
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 10 chunks +20 lines, -25 lines 0 comments Download

Messages

Total messages: 35 (17 generated)
Bugs Nash
Note that I've deleted the property specific FIXME comments from ConsumeBorderImageSlice because they didn't seem ...
3 years, 7 months ago (2017-05-05 04:04:19 UTC) #4
Jia
On 2017/05/05 04:04:19, Bugs Nash wrote: > Note that I've deleted the property specific FIXME ...
3 years, 7 months ago (2017-05-05 05:10:24 UTC) #5
Jia
https://codereview.chromium.org/2860283003/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2860283003/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2495 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:2495: bool default_fill, Having both "property" and "default_fill" seems redundant ...
3 years, 7 months ago (2017-05-05 05:10:49 UTC) #6
Bugs Nash
addressed review
3 years, 7 months ago (2017-05-05 05:18:05 UTC) #7
Bugs Nash
+suzyh for owners https://codereview.chromium.org/2860283003/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2860283003/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2495 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:2495: bool default_fill, On 2017/05/05 at 05:10:49, ...
3 years, 7 months ago (2017-05-05 05:18:37 UTC) #9
suzyh_UTC10 (ex-contributor)
lgtm with nits https://codereview.chromium.org/2860283003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2860283003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode966 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:966: repeat, true)) I'd suggest following this ...
3 years, 7 months ago (2017-05-05 05:47:12 UTC) #10
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/2860283003/40001
3 years, 7 months ago (2017-05-05 06:23:53 UTC) #13
Bugs Nash
https://codereview.chromium.org/2860283003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2860283003/diff/20001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode966 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:966: repeat, true)) On 2017/05/05 at 05:47:12, suzyh_UTC10 wrote: > ...
3 years, 7 months ago (2017-05-05 06:23:55 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/436795)
3 years, 7 months ago (2017-05-05 08:12:33 UTC) #16
Bugs Nash
fixed bug - argument order
3 years, 7 months ago (2017-05-08 00:20:30 UTC) #17
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/2860283003/60001
3 years, 7 months ago (2017-05-08 00:20:51 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/420281)
3 years, 7 months ago (2017-05-08 01:39:18 UTC) #22
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/2860283003/60001
3 years, 7 months ago (2017-05-08 02:58:16 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/420347)
3 years, 7 months ago (2017-05-08 04:14:16 UTC) #26
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/2860283003/60001
3 years, 7 months ago (2017-05-08 04:28:14 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/447283)
3 years, 7 months ago (2017-05-08 06:00:29 UTC) #30
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/2860283003/60001
3 years, 7 months ago (2017-05-09 04:26:33 UTC) #32
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 06:54:30 UTC) #35
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/2bef7b29ce7529f8512e76226f86...

Powered by Google App Engine
This is Rietveld 408576698