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

Issue 1770723002: Add variants of the setters on SkPaint which take a sk_sp<effect> (Closed)

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

Description

Add variants of the setters on SkPaint which take a sk_sp<effect>. At the same time, change the internal storage to be sk_sp<effect>. Follow-on CL might try to use = default for the constructors and assignment operators. This reverts commit 992854d62e179a589aa7366e443246e3672c3248. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1770723002 Committed: https://skia.googlesource.com/skia/+/a5ab9ec295b2e6dca166775a98db67a9a8c18c37

Patch Set 1 #

Patch Set 2 : simplify/unify macros in constructors for paint #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -164 lines) Patch
M include/core/SkPaint.h View 12 chunks +27 lines, -18 lines 0 comments Download
M src/core/SkPaint.cpp View 1 10 chunks +90 lines, -146 lines 0 comments Download

Messages

Total messages: 27 (11 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/1770723002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1770723002/1
4 years, 9 months ago (2016-03-06 19:38:57 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-06 19:48:20 UTC) #5
reed1
4 years, 9 months ago (2016-03-06 20:24:43 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/1770723002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1770723002/20001
4 years, 9 months ago (2016-03-06 20:24:59 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-06 20:34:49 UTC) #11
hal.canary
On 2016/03/06 20:34:49, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 9 months ago (2016-03-06 21:19:59 UTC) #12
hal.canary
https://codereview.chromium.org/1770723002/diff/20001/include/core/SkPaint.h File include/core/SkPaint.h (right): https://codereview.chromium.org/1770723002/diff/20001/include/core/SkPaint.h#newcode53 include/core/SkPaint.h:53: SkPaint& operator=(SkPaint&&); SkPaint& operator=(const SkPaint&) = default; SkPaint& operator=(SkPaint&&) ...
4 years, 9 months ago (2016-03-06 21:21:19 UTC) #13
reed1
I was wondering the same thing...
4 years, 9 months ago (2016-03-06 22:03:01 UTC) #14
bungeman-skia
When can we stop supporting msvs2013? https://codereview.chromium.org/1770723002/diff/20001/include/core/SkPaint.h File include/core/SkPaint.h (right): https://codereview.chromium.org/1770723002/diff/20001/include/core/SkPaint.h#newcode53 include/core/SkPaint.h:53: SkPaint& operator=(SkPaint&&); On ...
4 years, 9 months ago (2016-03-06 22:03:08 UTC) #15
reed1
If there's any doubt, perhaps we can land this as is, as it will free ...
4 years, 9 months ago (2016-03-06 22:04:24 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/1770723002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1770723002/40001
4 years, 9 months ago (2016-03-06 22:15:11 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-06 22:30:43 UTC) #20
bungeman-skia
On 2016/03/06 22:04:24, reed1 wrote: > If there's any doubt, perhaps we can land this ...
4 years, 9 months ago (2016-03-06 22:36:55 UTC) #21
hal.canary
On 2016/03/06 22:36:55, bungeman1 wrote: > On 2016/03/06 22:04:24, reed1 wrote: > > If there's ...
4 years, 9 months ago (2016-03-06 22:41:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1770723002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1770723002/40001
4 years, 9 months ago (2016-03-07 02:09:26 UTC) #25
commit-bot: I haz the power
4 years, 9 months ago (2016-03-07 02:11:04 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/a5ab9ec295b2e6dca166775a98db67a9a8c18c37

Powered by Google App Engine
This is Rietveld 408576698