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

Issue 1672063002: SkTArray to move when moving. (Closed)

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

Description

SkTArray to move when moving. This updates SkTArray to move elements when possible, instead of always copying them. TBR=reed Agreed moving is good. This should also become private. Committed: https://skia.googlesource.com/skia/+/3c69348e725131150e4ab962dec1b3ff1148a6bd Committed: https://skia.googlesource.com/skia/+/918090c819109585f8fd2295039385a60eb0b572

Patch Set 1 #

Patch Set 2 : Take advantage of more c++11 to make things easier. #

Total comments: 4

Patch Set 3 : Clarify comment. #

Patch Set 4 : Disable bad language extensions, fix existing code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -56 lines) Patch
M gyp/common_conditions.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkTArray.h View 1 2 8 chunks +34 lines, -50 lines 0 comments Download
M include/ports/SkFontMgr_indirect.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/ports/SkRemotableFontMgr_win_dw.cpp View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 45 (25 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/1672063002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672063002/1
4 years, 10 months ago (2016-02-05 20:53:38 UTC) #3
bungeman-skia
Came up while working on another CL.
4 years, 10 months ago (2016-02-05 21:06:23 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-05 21:41:16 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672063002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672063002/20001
4 years, 10 months ago (2016-02-06 20:32:56 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-06 20:58:18 UTC) #14
mtklein
https://codereview.chromium.org/1672063002/diff/20001/include/core/SkTArray.h File include/core/SkTArray.h (right): https://codereview.chromium.org/1672063002/diff/20001/include/core/SkTArray.h#newcode394 include/core/SkTArray.h:394: * When moving (and MEM_COPY is false), the moved ...
4 years, 10 months ago (2016-02-07 22:21:23 UTC) #15
bungeman-skia
https://codereview.chromium.org/1672063002/diff/20001/include/core/SkTArray.h File include/core/SkTArray.h (right): https://codereview.chromium.org/1672063002/diff/20001/include/core/SkTArray.h#newcode394 include/core/SkTArray.h:394: * When moving (and MEM_COPY is false), the moved ...
4 years, 10 months ago (2016-02-08 03:17:03 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672063002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672063002/20001
4 years, 10 months ago (2016-02-08 03:17:49 UTC) #18
bungeman-skia
https://codereview.chromium.org/1672063002/diff/20001/include/core/SkTArray.h File include/core/SkTArray.h (right): https://codereview.chromium.org/1672063002/diff/20001/include/core/SkTArray.h#newcode394 include/core/SkTArray.h:394: * When moving (and MEM_COPY is false), the moved ...
4 years, 10 months ago (2016-02-08 03:36:25 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-08 03:45:25 UTC) #21
mtklein
lgtm https://codereview.chromium.org/1672063002/diff/20001/include/core/SkTArray.h File include/core/SkTArray.h (right): https://codereview.chromium.org/1672063002/diff/20001/include/core/SkTArray.h#newcode394 include/core/SkTArray.h:394: * When moving (and MEM_COPY is false), the ...
4 years, 10 months ago (2016-02-08 16:33:07 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672063002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672063002/40001
4 years, 10 months ago (2016-02-08 16:36:54 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/3c69348e725131150e4ab962dec1b3ff1148a6bd
4 years, 10 months ago (2016-02-08 17:02:40 UTC) #30
kjlubick
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1677103002/ by kjlubick@google.com. ...
4 years, 10 months ago (2016-02-08 18:03:07 UTC) #31
mtklein
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1683693002/ by mtklein@google.com. ...
4 years, 10 months ago (2016-02-09 13:13:57 UTC) #32
bungeman-skia
Agitated for clang-cl trybot for Skia and auto-roller, added warnings as errors to prevent this ...
4 years, 10 months ago (2016-02-09 16:43:13 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672063002/60001
4 years, 10 months ago (2016-02-09 16:44:08 UTC) #38
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-09 17:12:58 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672063002/60001
4 years, 10 months ago (2016-02-09 17:13:56 UTC) #43
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 17:14:31 UTC) #45
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/918090c819109585f8fd2295039385a60eb0b572

Powered by Google App Engine
This is Rietveld 408576698