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

Issue 1672123002: Make SkString movable. (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

Make SkString movable. This adds a move constructor and move assignment to SkString. This allows elision of atomic increments and decrements on the fRec. TBR=reed Already agreed that moving is good. Committed: https://skia.googlesource.com/skia/+/9d55297f1fd1ed0f74277fd95b4c59608220aa77

Patch Set 1 #

Total comments: 2

Patch Set 2 : Don't need 'this' on 'f' fields. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M include/core/SkString.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/core/SkString.cpp View 1 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
bungeman-skia
To go along with SkTArray changes.
4 years, 10 months ago (2016-02-05 22:31:14 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672123002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672123002/1
4 years, 10 months ago (2016-02-05 22:32:25 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Mips-Debug-Android-Trybot on client.skia.compile (JOB_TIMED_OUT, no build URL)
4 years, 10 months ago (2016-02-06 00:32:42 UTC) #8
mtklein
lgtm https://codereview.chromium.org/1672123002/diff/1/src/core/SkString.cpp File src/core/SkString.cpp (right): https://codereview.chromium.org/1672123002/diff/1/src/core/SkString.cpp#newcode281 src/core/SkString.cpp:281: this->fRec = src.fRec; We can probably just write ...
4 years, 10 months ago (2016-02-07 22:18:36 UTC) #9
bungeman-skia
https://codereview.chromium.org/1672123002/diff/1/src/core/SkString.cpp File src/core/SkString.cpp (right): https://codereview.chromium.org/1672123002/diff/1/src/core/SkString.cpp#newcode281 src/core/SkString.cpp:281: this->fRec = src.fRec; On 2016/02/07 22:18:36, mtklein wrote: > ...
4 years, 10 months ago (2016-02-08 02:16:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672123002/20001
4 years, 10 months ago (2016-02-08 02:17:16 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-02-08 02:42:59 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/9d55297f1fd1ed0f74277fd95b4c59608220aa77

Powered by Google App Engine
This is Rietveld 408576698