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

Issue 236763002: Move default StyleBuilderFunctions handlers from StyleBuilder.cpp to StyleBuilderFunctions.cpp (Closed)

Created:
6 years, 8 months ago by Timothy Loh
Modified:
6 years, 8 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Move default StyleBuilderFunctions handlers from StyleBuilder.cpp to StyleBuilderFunctions.cpp Some of the StyleBuilderFunctions handlers were being defined in StyleBuilder.cpp. This patch cleans moves them to the correct place and makes some minor clean-ups inside (removing the unused condition check and a redundant isPrimitiveValue check). Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171443

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -62 lines) Patch
M Source/build/scripts/make_style_builder.py View 1 chunk +0 lines, -1 line 0 comments Download
M Source/build/scripts/templates/StyleBuilder.cpp.tmpl View 1 chunk +0 lines, -57 lines 0 comments Download
M Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl View 2 chunks +42 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Timothy Loh
I don't think it make sense to pull the helper macros into a separate file ...
6 years, 8 months ago (2014-04-14 07:10:16 UTC) #1
Nils Barth (inactive)
LGTM. Personally I prefer factoring macros out, even if only used in one place, since ...
6 years, 8 months ago (2014-04-14 07:35:33 UTC) #2
Timothy Loh
The CQ bit was checked by timloh@chromium.org
6 years, 8 months ago (2014-04-14 07:52:26 UTC) #3
Timothy Loh
On 2014/04/14 07:35:33, Nils Barth wrote: > Personally I prefer factoring macros out, even if ...
6 years, 8 months ago (2014-04-14 07:52:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/236763002/1
6 years, 8 months ago (2014-04-14 07:53:14 UTC) #5
commit-bot: I haz the power
6 years, 8 months ago (2014-04-14 08:50:27 UTC) #6
Message was sent while issue was closed.
Change committed as 171443

Powered by Google App Engine
This is Rietveld 408576698