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

Issue 1904663004: SkTArray movable and swap for move only elements. (Closed)

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

Description

SkTArray movable and swap for move only elements. SkTArray cannot currently contain move only elements because its swap currently requires the SkTArray to be copyable. This makes SkTArray movable and makes its swap move instead of copy. Committed: https://skia.googlesource.com/skia/+/0d9e9bee17aa2901582c5461ae60f7241fc0cd59

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -39 lines) Patch
M include/private/SkTArray.h View 12 chunks +44 lines, -27 lines 2 comments Download
M tests/TArrayTest.cpp View 2 chunks +32 lines, -12 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
bungeman-skia
4 years, 8 months ago (2016-04-20 15:40:26 UTC) #4
mtklein
lgtm https://codereview.chromium.org/1904663004/diff/1/include/private/SkTArray.h File include/private/SkTArray.h (right): https://codereview.chromium.org/1904663004/diff/1/include/private/SkTArray.h#newcode284 include/private/SkTArray.h:284: // This could be more optimal... Still true?
4 years, 8 months ago (2016-04-20 15:50:44 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1904663004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1904663004/1
4 years, 8 months ago (2016-04-20 16:27:41 UTC) #9
bungeman-skia
https://codereview.chromium.org/1904663004/diff/1/include/private/SkTArray.h File include/private/SkTArray.h (right): https://codereview.chromium.org/1904663004/diff/1/include/private/SkTArray.h#newcode284 include/private/SkTArray.h:284: // This could be more optimal... On 2016/04/20 15:50:44, ...
4 years, 8 months ago (2016-04-20 17:21: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/1904663004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1904663004/1
4 years, 8 months ago (2016-04-20 17:21:24 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/0d9e9bee17aa2901582c5461ae60f7241fc0cd59
4 years, 8 months ago (2016-04-20 17:22:24 UTC) #15
krasin
Early warning: this CL has broken 'CFI Linux' buildbot: https://build.chromium.org/p/chromium.fyi/builders/CFI%20Linux/builds/5115 Error message: ../../third_party/skia/include/gpu/../private/SkTArray.h:189:19: runtime error: ...
4 years, 8 months ago (2016-04-20 23:28:46 UTC) #16
krasin
4 years, 8 months ago (2016-04-20 23:37:33 UTC) #17
Message was sent while issue was closed.
Filed https://crbug.com/605337

Powered by Google App Engine
This is Rietveld 408576698