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

Issue 1086943007: Regularize lmp::XXX_element_handler. (Closed)

Created:
5 years, 8 months ago by bungeman-skia
Modified:
5 years, 8 months ago
Reviewers:
mtklein, tomhudson
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Regularize lmp::XXX_element_handler. This makes all non-XMLCALL element_handler functions uniform by making their signature void XXX_element_handler(FamilyData* self, const char** attributes) This makes the code somewhat easier to follow, as it makes explicit which functions are actually logically methods of FamilyData (start with 'FamilyData* self') and which are called directly by expat (start with 'void* data'). Committed: https://skia.googlesource.com/skia/+/e1ddb3b190697a26154bff207fce2189c8be6d30

Patch Set 1 #

Total comments: 2

Patch Set 2 : Pull things together. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M src/ports/SkFontConfigParser_android.cpp View 1 3 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1086943007/1
5 years, 8 months ago (2015-04-17 21:19:04 UTC) #2
bungeman-skia
5 years, 8 months ago (2015-04-17 21:19:53 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-17 21:28:13 UTC) #6
bungeman-skia
5 years, 8 months ago (2015-04-17 22:20:16 UTC) #8
tomhudson
https://codereview.chromium.org/1086943007/diff/1/src/ports/SkFontConfigParser_android.cpp File src/ports/SkFontConfigParser_android.cpp (right): https://codereview.chromium.org/1086943007/diff/1/src/ports/SkFontConfigParser_android.cpp#newcode123 src/ports/SkFontConfigParser_android.cpp:123: family.fIsFallbackFont = true; Why are you making /family/ a ...
5 years, 8 months ago (2015-04-20 18:11:39 UTC) #9
bungeman-skia
How about like this? https://codereview.chromium.org/1086943007/diff/1/src/ports/SkFontConfigParser_android.cpp File src/ports/SkFontConfigParser_android.cpp (right): https://codereview.chromium.org/1086943007/diff/1/src/ports/SkFontConfigParser_android.cpp#newcode123 src/ports/SkFontConfigParser_android.cpp:123: family.fIsFallbackFont = true; On 2015/04/20 ...
5 years, 8 months ago (2015-04-20 20:14:57 UTC) #10
tomhudson
lgtm
5 years, 8 months ago (2015-04-20 20:26:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1086943007/20001
5 years, 8 months ago (2015-04-20 20:26:41 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-20 20:31:59 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/e1ddb3b190697a26154bff207fce2189c8be6d30

Powered by Google App Engine
This is Rietveld 408576698