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

Issue 2211143002: Move to SkDataTable::MakeXXX and sk_sp. (Closed)

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

Description

Move to SkDataTable::MakeXXX and sk_sp. Change SkDataTable::NewXXX to SkDataTable::MakeXXX and return sk_sp. This updates users of SkDataTable to sk_sp as well. There do not appear to be any external users of these methods. Committed: https://skia.googlesource.com/skia/+/feb3c1a57faee39dc10ac904f6b215ba50e286b4

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use bare pointer for global. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -72 lines) Patch
M include/core/SkDataTable.h View 4 chunks +7 lines, -8 lines 0 comments Download
M include/ports/SkFontConfigInterface.h View 1 chunk +1 line, -1 line 0 comments Download
M include/ports/SkFontMgr_indirect.h View 1 chunk +1 line, -1 line 0 comments Download
M include/ports/SkRemotableFontMgr.h View 1 chunk +1 line, -3 lines 0 comments Download
M src/core/SkDataTable.cpp View 1 4 chunks +22 lines, -24 lines 0 comments Download
M src/fonts/SkFontMgr_indirect.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkFontConfigInterface_direct.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkFontConfigInterface_direct.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/ports/SkFontMgr_FontConfigInterface.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkFontMgr_fontconfig.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M src/ports/SkRemotableFontMgr_win_dw.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/DataRefTest.cpp View 4 chunks +19 lines, -24 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
bungeman-skia
4 years, 4 months ago (2016-08-04 19:03:11 UTC) #6
bungeman-skia
4 years, 4 months ago (2016-08-04 19:03:31 UTC) #8
mtklein
https://codereview.chromium.org/2211143002/diff/1/src/core/SkDataTable.cpp File src/core/SkDataTable.cpp (right): https://codereview.chromium.org/2211143002/diff/1/src/core/SkDataTable.cpp#newcode81 src/core/SkDataTable.cpp:81: static sk_sp<SkDataTable> singleton; I think we usually keep singletons ...
4 years, 4 months ago (2016-08-04 19:23:41 UTC) #11
bungeman-skia
https://codereview.chromium.org/2211143002/diff/1/src/core/SkDataTable.cpp File src/core/SkDataTable.cpp (right): https://codereview.chromium.org/2211143002/diff/1/src/core/SkDataTable.cpp#newcode81 src/core/SkDataTable.cpp:81: static sk_sp<SkDataTable> singleton; On 2016/08/04 19:23:41, mtklein wrote: > ...
4 years, 4 months ago (2016-08-04 19:48:52 UTC) #14
mtklein
lgtm
4 years, 4 months ago (2016-08-04 19:49:50 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/2211143002/20001
4 years, 4 months ago (2016-08-04 20:05:26 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on master.client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/12195)
4 years, 4 months ago (2016-08-04 20:07:05 UTC) #22
bungeman-skia
This does modify some public API from SkData* to sk_sp<SkData>, but it doesn't appear this ...
4 years, 4 months ago (2016-08-04 20:07:38 UTC) #24
djsollen
lgtm
4 years, 4 months ago (2016-08-05 11:09:46 UTC) #25
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/2211143002/20001
4 years, 4 months ago (2016-08-05 13:50:35 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 13:51:53 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/feb3c1a57faee39dc10ac904f6b215ba50e286b4

Powered by Google App Engine
This is Rietveld 408576698