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

Issue 2051993002: Drop unecessary use of CrossThreadPersistent by CanvasAsyncBlobCreator. (Closed)

Created:
4 years, 6 months ago by sof
Modified:
4 years, 6 months ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, Justin Novosad, dglazkov+blink, Rik, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Drop unecessary use of CrossThreadPersistent by CanvasAsyncBlobCreator. The callback object that the CanvasAsyncBlobCreator passes along to a background thread can be kept as a simple Member<>; no need to involve CrossThreadPersistent<> and risk inadvertently introducing leaks. R= BUG= Committed: https://crrev.com/089aa85a72d06184c60104b1c1c6f84d1e2eb334 Cr-Commit-Position: refs/heads/master@{#399181}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -9 lines) Patch
M third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp View 1 chunk +0 lines, -8 lines 1 comment Download

Messages

Total messages: 24 (9 generated)
sof
please take a look. Something the GC plugin ought to have called out (..it soon ...
4 years, 6 months ago (2016-06-09 21:08:33 UTC) #2
haraken
On 2016/06/09 21:08:33, sof wrote: > please take a look. > > Something the GC ...
4 years, 6 months ago (2016-06-09 23:37:03 UTC) #3
sof
On 2016/06/09 23:37:03, haraken wrote: > On 2016/06/09 21:08:33, sof wrote: > > please take ...
4 years, 6 months ago (2016-06-10 05:13:25 UTC) #4
haraken
LGTM
4 years, 6 months ago (2016-06-10 05:22:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051993002/1
4 years, 6 months ago (2016-06-10 06:30:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051993002/1
4 years, 6 months ago (2016-06-10 09:17:30 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/236953)
4 years, 6 months ago (2016-06-10 10:12:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051993002/1
4 years, 6 months ago (2016-06-10 10:34:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051993002/1
4 years, 6 months ago (2016-06-10 12:07:46 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-10 14:52:04 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 14:52:12 UTC) #19
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/089aa85a72d06184c60104b1c1c6f84d1e2eb334 Cr-Commit-Position: refs/heads/master@{#399181}
4 years, 6 months ago (2016-06-10 14:53:45 UTC) #21
sof
https://codereview.chromium.org/2051993002/diff/1/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp File third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp (left): https://codereview.chromium.org/2051993002/diff/1/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp#oldcode259 third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp:259: // Since toBlob is done, timeout events are no ...
4 years, 6 months ago (2016-06-13 06:15:27 UTC) #22
sof
On 2016/06/13 06:15:27, sof wrote: > https://codereview.chromium.org/2051993002/diff/1/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp > File third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp > (left): > > https://codereview.chromium.org/2051993002/diff/1/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp#oldcode259 ...
4 years, 6 months ago (2016-06-13 07:54:30 UTC) #23
kjellander_chromium
4 years, 6 months ago (2016-06-14 11:50:14 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2064123002/ by kjellander@chromium.org.

The reason for reverting is: Breaks WebKit Linux Leak bot: 
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Leak/b...

unexpected_failures:
virtual/threaded/fast/canvas-toBlob/canvas-toBlob-file-vs-blob.html
virtual/display_list_2d_canvas/fast/canvas/canvas-toBlob-toDataURL-race-imageEncoder-jpeg.html
virtual/threaded/fast/canvas-toBlob/canvas-toBlob-invalid.html
fast/canvas/canvas-toBlob-toDataURL-race-imageEncoder-jpeg.html
virtual/gpu/fast/canvas/canvas-toBlob-toDataURL-race-imageEncoder-jpeg.html
virtual/threaded/fast/canvas-toBlob/canvas-toBlob-defaultpng.html
virtual/gpu/fast/canvas/canvas-toBlob-jpeg-medium-quality.html
.

Powered by Google App Engine
This is Rietveld 408576698