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

Issue 1057413005: Remove filename from SkFontDescriptor. (Closed)

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

Description

Remove filename from SkFontDescriptor. No one actually uses it, so remove it. Keep the string id for backward compatibility. TBR=reed@google.com This doesn't change any public API. Committed: https://skia.googlesource.com/skia/+/9d911d5a9323bda1e4a77c46a0c28708dcc2ad38

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add assert to remove code once no longer needed for backward compatability. #

Patch Set 3 : Add comments about what to remove. #

Patch Set 4 : Add missing space. #

Total comments: 2

Patch Set 5 : Add file name to assert. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -28 lines) Patch
M include/core/SkPicture.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/core/SkFontDescriptor.h View 3 chunks +0 lines, -3 lines 0 comments Download
M src/core/SkFontDescriptor.cpp View 1 2 3 4 chunks +11 lines, -4 lines 0 comments Download
M src/core/SkPaint.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M src/fonts/SkTestScalerContext.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/ports/SkFontHost_linux.cpp View 5 chunks +0 lines, -15 lines 0 comments Download
M src/ports/SkFontMgr_android.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M src/ports/SkFontMgr_fontconfig.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
bungeman-skia
reed indicated that he'd like this to get done at some point, and I'd like ...
5 years, 8 months ago (2015-04-17 16:57:21 UTC) #2
mtklein
https://codereview.chromium.org/1057413005/diff/1/src/core/SkFontDescriptor.cpp File src/core/SkFontDescriptor.cpp (right): https://codereview.chromium.org/1057413005/diff/1/src/core/SkFontDescriptor.cpp#newcode79 src/core/SkFontDescriptor.cpp:79: break; Why do we keep this around? For serialized ...
5 years, 8 months ago (2015-04-17 17:00:46 UTC) #3
bungeman-skia
Added all the things for future removal. https://codereview.chromium.org/1057413005/diff/1/src/core/SkFontDescriptor.cpp File src/core/SkFontDescriptor.cpp (right): https://codereview.chromium.org/1057413005/diff/1/src/core/SkFontDescriptor.cpp#newcode79 src/core/SkFontDescriptor.cpp:79: break; On ...
5 years, 8 months ago (2015-04-17 17:44:51 UTC) #4
mtklein
lgtm https://codereview.chromium.org/1057413005/diff/60001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/1057413005/diff/60001/include/core/SkPicture.h#newcode256 include/core/SkPicture.h:256: static_assert(MIN_PICTURE_VERSION <= 41, "Remove kFontFileName and related code."); ...
5 years, 8 months ago (2015-04-17 17:46:22 UTC) #5
bungeman-skia
https://codereview.chromium.org/1057413005/diff/60001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/1057413005/diff/60001/include/core/SkPicture.h#newcode256 include/core/SkPicture.h:256: static_assert(MIN_PICTURE_VERSION <= 41, "Remove kFontFileName and related code."); On ...
5 years, 8 months ago (2015-04-17 17:50:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1057413005/70001
5 years, 8 months ago (2015-04-17 17:51:03 UTC) #9
commit-bot: I haz the power
Presubmit check for 1057413005-70001 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-17 17:51:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1057413005/70001
5 years, 8 months ago (2015-04-17 17:53:03 UTC) #13
commit-bot: I haz the power
Presubmit check for 1057413005-70001 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-17 17:53:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1057413005/70001
5 years, 8 months ago (2015-04-17 17:54:07 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 18:00:11 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://skia.googlesource.com/skia/+/9d911d5a9323bda1e4a77c46a0c28708dcc2ad38

Powered by Google App Engine
This is Rietveld 408576698