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

Issue 1925433002: Replace SkTLazy with base::Optional (Closed)

Created:
4 years, 8 months ago by liyuqian
Modified:
4 years, 7 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace SkTLazy with base::Optional BUG=604860 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/ab29ff6dc90b7b652261f14617e31382f70c31b5 Cr-Commit-Position: refs/heads/master@{#390364}

Patch Set 1 #

Patch Set 2 : Update Skia Patch #

Patch Set 3 : Remove Patch #

Total comments: 3

Patch Set 4 : Format #

Patch Set 5 : Include #

Total comments: 5

Patch Set 6 : New Comments #

Patch Set 7 : No Optional #

Total comments: 2

Patch Set 8 : bungeman #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -20 lines) Patch
M cc/playback/image_hijack_canvas.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -7 lines 1 comment Download
M cc/playback/raster_source.cc View 1 chunk +0 lines, -1 line 0 comments Download
M skia/ext/benchmarking_canvas.cc View 1 2 3 4 5 6 7 5 chunks +10 lines, -12 lines 0 comments Download

Messages

Total messages: 50 (21 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/1925433002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925433002/1
4 years, 8 months ago (2016-04-26 21:07:40 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/85235)
4 years, 8 months ago (2016-04-26 21:15:19 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/1925433002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925433002/20001
4 years, 7 months ago (2016-04-27 13:02:47 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 14:09:33 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925433002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925433002/40001
4 years, 7 months ago (2016-04-27 14:27:22 UTC) #11
liyuqian
I replaced all SkTLazy usages in Chromium with base::Optional. In Patch Set 2, it is ...
4 years, 7 months ago (2016-04-27 14:41:47 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 15:24:40 UTC) #16
liyuqian
Trybots finished for the newest patch set. Please let me know if everything looks good ...
4 years, 7 months ago (2016-04-27 17:58:22 UTC) #17
vmpstr
https://codereview.chromium.org/1925433002/diff/40001/cc/playback/image_hijack_canvas.cc File cc/playback/image_hijack_canvas.cc (right): https://codereview.chromium.org/1925433002/diff/40001/cc/playback/image_hijack_canvas.cc#newcode37 cc/playback/image_hijack_canvas.cc:37: (decoded_paint_ = *paint) Can you separate this into two ...
4 years, 7 months ago (2016-04-27 18:01:02 UTC) #19
bungeman-chromium
https://codereview.chromium.org/1925433002/diff/40001/cc/playback/image_hijack_canvas.cc File cc/playback/image_hijack_canvas.cc (right): https://codereview.chromium.org/1925433002/diff/40001/cc/playback/image_hijack_canvas.cc#newcode5 cc/playback/image_hijack_canvas.cc:5: #include "base/optional.h" This include should go with the second ...
4 years, 7 months ago (2016-04-27 18:15:05 UTC) #21
danakj
I've pointed the CL at bug #604860
4 years, 7 months ago (2016-04-27 18:22:55 UTC) #22
liyuqian
Thank you for the comments! I've fixed them.
4 years, 7 months ago (2016-04-27 18:23:55 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925433002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925433002/80001
4 years, 7 months ago (2016-04-27 18:24:50 UTC) #26
vmpstr
cc lgtm
4 years, 7 months ago (2016-04-27 18:26:25 UTC) #27
danakj
https://codereview.chromium.org/1925433002/diff/80001/cc/playback/image_hijack_canvas.cc File cc/playback/image_hijack_canvas.cc (right): https://codereview.chromium.org/1925433002/diff/80001/cc/playback/image_hijack_canvas.cc#newcode48 cc/playback/image_hijack_canvas.cc:48: return decoded_paint_ ? &(*decoded_paint_) : nullptr; nit: no ()s ...
4 years, 7 months ago (2016-04-27 18:27:52 UTC) #28
bungeman-chromium
https://codereview.chromium.org/1925433002/diff/80001/skia/ext/opacity_filter_canvas.cc File skia/ext/opacity_filter_canvas.cc (right): https://codereview.chromium.org/1925433002/diff/80001/skia/ext/opacity_filter_canvas.cc#newcode17 skia/ext/opacity_filter_canvas.cc:17: bool OpacityFilterCanvas::onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Type) const { Unfortunately (and I ...
4 years, 7 months ago (2016-04-27 18:32:55 UTC) #29
vmpstr
https://codereview.chromium.org/1925433002/diff/80001/skia/ext/opacity_filter_canvas.cc File skia/ext/opacity_filter_canvas.cc (right): https://codereview.chromium.org/1925433002/diff/80001/skia/ext/opacity_filter_canvas.cc#newcode17 skia/ext/opacity_filter_canvas.cc:17: bool OpacityFilterCanvas::onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Type) const { On 2016/04/27 18:32:54, ...
4 years, 7 months ago (2016-04-27 18:36:53 UTC) #30
vmpstr
https://codereview.chromium.org/1925433002/diff/80001/skia/ext/opacity_filter_canvas.cc File skia/ext/opacity_filter_canvas.cc (right): https://codereview.chromium.org/1925433002/diff/80001/skia/ext/opacity_filter_canvas.cc#newcode17 skia/ext/opacity_filter_canvas.cc:17: bool OpacityFilterCanvas::onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Type) const { On 2016/04/27 18:36:52, ...
4 years, 7 months ago (2016-04-27 18:39:34 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 19:20:43 UTC) #33
liyuqian
I've revised the CL according to the new comments: 1. Optional is removed from benchmarking_canvas.cc ...
4 years, 7 months ago (2016-04-27 19:32:39 UTC) #34
bungeman-chromium
https://codereview.chromium.org/1925433002/diff/120001/cc/playback/image_hijack_canvas.cc File cc/playback/image_hijack_canvas.cc (right): https://codereview.chromium.org/1925433002/diff/120001/cc/playback/image_hijack_canvas.cc#newcode48 cc/playback/image_hijack_canvas.cc:48: return decoded_paint_ ? &(*decoded_paint_) : nullptr; danakj wanted this ...
4 years, 7 months ago (2016-04-27 19:59:34 UTC) #35
liyuqian
More fixes thanks to Ben.
4 years, 7 months ago (2016-04-27 20:09:55 UTC) #36
bungeman-chromium
lgtm
4 years, 7 months ago (2016-04-27 20:20:22 UTC) #37
bungeman-skia
OWNER lgtm
4 years, 7 months ago (2016-04-27 20:20:48 UTC) #39
danakj
LGTM https://codereview.chromium.org/1925433002/diff/140001/cc/playback/image_hijack_canvas.cc File cc/playback/image_hijack_canvas.cc (right): https://codereview.chromium.org/1925433002/diff/140001/cc/playback/image_hijack_canvas.cc#newcode48 cc/playback/image_hijack_canvas.cc:48: return decoded_paint_ ? &decoded_paint_.value() : nullptr; yep this ...
4 years, 7 months ago (2016-04-27 20:39:25 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925433002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925433002/140001
4 years, 7 months ago (2016-04-27 20:39:53 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925433002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925433002/140001
4 years, 7 months ago (2016-04-28 13:42:06 UTC) #46
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-04-28 13:46:26 UTC) #48
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:18:01 UTC) #49
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ab29ff6dc90b7b652261f14617e31382f70c31b5
Cr-Commit-Position: refs/heads/master@{#390364}

Powered by Google App Engine
This is Rietveld 408576698