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

Issue 1938103002: Reland toBlob: If idle image encoding is postponed for too long, switch to main thread (Closed)

Created:
4 years, 7 months ago by xlai (Olivia)
Modified:
4 years, 7 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, 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

Reland toBlob: If idle image encoding is postponed for too long, switch to main thread The original patch (https://codereview.chromium.org/1665413004/) was reverted 3 months ago due to a problem in WebKit Leak bot. The recent changes in Oilpan have resolved this problem. BUG=583070 Committed: https://crrev.com/b1781a606269a2d8866b0d9a14ae67b4c9c33afd Cr-Commit-Position: refs/heads/master@{#391372}

Patch Set 1 #

Total comments: 29

Patch Set 2 : Fixes based on junov's comments #

Patch Set 3 : Layout tests leak fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -28 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h View 1 3 chunks +32 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp View 1 2 6 chunks +139 lines, -22 lines 0 comments Download
A third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp View 1 1 chunk +188 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
xlai (Olivia)
The idea is same as the old patch that get reverted in February--that is, when ...
4 years, 7 months ago (2016-05-02 20:13:35 UTC) #2
Justin Novosad
This looks great! Mostly superficial comments. https://codereview.chromium.org/1938103002/diff/1/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp File third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp (right): https://codereview.chromium.org/1938103002/diff/1/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp#newcode32 third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp:32: // lenient limit ...
4 years, 7 months ago (2016-05-03 14:19:19 UTC) #3
xlai (Olivia)
https://codereview.chromium.org/1938103002/diff/1/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp File third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp (right): https://codereview.chromium.org/1938103002/diff/1/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp#newcode41 third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp:41: const double IdleTaskCompleteTimeoutDelay = 10000.0; On 2016/05/03 14:19:19, Justin ...
4 years, 7 months ago (2016-05-03 18:01:27 UTC) #4
Justin Novosad
lgtm
4 years, 7 months ago (2016-05-03 19:53:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938103002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938103002/20001
4 years, 7 months ago (2016-05-03 20:04:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938103002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938103002/40001
4 years, 7 months ago (2016-05-03 20:53:04 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-03 22:07:03 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 22:08:53 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b1781a606269a2d8866b0d9a14ae67b4c9c33afd
Cr-Commit-Position: refs/heads/master@{#391372}

Powered by Google App Engine
This is Rietveld 408576698