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

Issue 585523003: Simplify a little in SkRecords.h: (Closed)

Created:
6 years, 3 months ago by mtklein_C
Modified:
6 years, 3 months ago
CC:
reviews_skia.org, tfarina
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Simplify a little in SkRecords.h: - ACT_AS_PTR can just expose const methods to get at the pointers. (If the thing stored must stay const, we pass a const T.) - DrawPatch works fine with Record# macros, so use Record5. BUG=skia: Committed: https://skia.googlesource.com/skia/+/9b222a5ddd3b39ca191d8443bade6052cdcb713d

Patch Set 1 #

Patch Set 2 : kill old comment #

Patch Set 3 : safe ref #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -27 lines) Patch
M src/core/SkRecordDraw.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkRecords.h View 1 2 4 chunks +11 lines, -26 lines 2 comments Download

Messages

Total messages: 16 (5 generated)
mtklein
6 years, 3 months ago (2014-09-18 15:27:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/585523003/1
6 years, 3 months ago (2014-09-18 15:28:11 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 3 months ago (2014-09-18 15:28:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/585523003/20001
6 years, 3 months ago (2014-09-18 15:30:12 UTC) #7
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 3 months ago (2014-09-18 15:30:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/585523003/40001
6 years, 3 months ago (2014-09-18 15:34:51 UTC) #10
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 3 months ago (2014-09-18 15:34:52 UTC) #11
tfarina
the rest looks fine. https://codereview.chromium.org/585523003/diff/40001/src/core/SkRecords.h File src/core/SkRecords.h (left): https://codereview.chromium.org/585523003/diff/40001/src/core/SkRecords.h#oldcode122 src/core/SkRecords.h:122: operator T*() { return ptr; ...
6 years, 3 months ago (2014-09-18 17:35:43 UTC) #12
mtklein
https://codereview.chromium.org/585523003/diff/40001/src/core/SkRecords.h File src/core/SkRecords.h (left): https://codereview.chromium.org/585523003/diff/40001/src/core/SkRecords.h#oldcode122 src/core/SkRecords.h:122: operator T*() { return ptr; } \ Mostly this ...
6 years, 3 months ago (2014-09-18 17:52:39 UTC) #13
reed1
lgtm
6 years, 3 months ago (2014-09-18 18:15:41 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 18:16:38 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 9b222a5ddd3b39ca191d8443bade6052cdcb713d

Powered by Google App Engine
This is Rietveld 408576698