diff options
author | mtklein <mtklein@google.com> | 2016-02-09 05:14:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-09 05:14:04 -0800 |
commit | 4984b85037bf0733d848318dfaff03ab85204a6f (patch) | |
tree | d53504318963da3e91195353a9ccbfdd86d9cf8f /include/ports | |
parent | 4f0379444db31421894d2fce7c85889fe5eaa01a (diff) |
Revert of SkTArray to move when moving. (patchset #3 id:40001 of https://codereview.chromium.org/1672063002/ )
Reason for revert:
Broke the Chrome roll:
https://codereview.chromium.org/1680563005
Original issue's 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
TBR=reed@google.com,bungeman@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/1683693002
Diffstat (limited to 'include/ports')
-rw-r--r-- | include/ports/SkFontMgr_indirect.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ports/SkFontMgr_indirect.h b/include/ports/SkFontMgr_indirect.h index 9d96fee687..81cd7739a9 100644 --- a/include/ports/SkFontMgr_indirect.h +++ b/include/ports/SkFontMgr_indirect.h @@ -70,7 +70,8 @@ private: DataEntry() { } - DataEntry(DataEntry&& that) + // This is a move!!! + DataEntry(DataEntry& that) : fDataId(that.fDataId) , fTtcIndex(that.fTtcIndex) , fTypeface(that.fTypeface) |