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

Issue 2146403004: ThreadableLoader::cancel should be called before loader destruction (Closed)

Created:
4 years, 5 months ago by yhirano
Modified:
4 years, 5 months ago
Reviewers:
hiroshige, Mike West
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@onheap-threadable-loader-client-wrapper
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ThreadableLoader::cancel should be called before loader destruction Currently ThreadableLoader's destructor implicitly cancels loading. This CL requires a user to cancel the loader explicitly before destructing a ThreadableLoader, as a preparation for moving it to Oilpan heap. BUG=587663 Committed: https://crrev.com/56b1490f30437ec92df7897ee8e7a12a9ed98691 Cr-Commit-Position: refs/heads/master@{#407074}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Total comments: 12

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -34 lines) Patch
M third_party/WebKit/Source/core/fileapi/FileReaderLoader.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp View 1 4 chunks +8 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp View 1 2 3 3 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/loader/ThreadableLoader.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/loader/ThreadableLoaderClientWrapper.h View 1 1 chunk +20 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp View 1 2 3 11 chunks +32 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 46 (35 generated)
yhirano
4 years, 5 months ago (2016-07-19 05:02:53 UTC) #24
yhirano
4 years, 5 months ago (2016-07-19 05:02:55 UTC) #25
hiroshige
https://codereview.chromium.org/2146403004/diff/140001/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp File third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp (right): https://codereview.chromium.org/2146403004/diff/140001/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp#newcode348 third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp:348: DCHECK(!m_client); optional: how about making this CHECK() for a ...
4 years, 5 months ago (2016-07-19 06:56:14 UTC) #28
yhirano
https://codereview.chromium.org/2146403004/diff/140001/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp File third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp (right): https://codereview.chromium.org/2146403004/diff/140001/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp#newcode348 third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp:348: DCHECK(!m_client); On 2016/07/19 06:56:13, hiroshige wrote: > optional: how ...
4 years, 5 months ago (2016-07-19 08:05:04 UTC) #31
hiroshige
lgtm if bots are happy.
4 years, 5 months ago (2016-07-19 08:34:10 UTC) #32
yhirano
+mkwst@
4 years, 5 months ago (2016-07-19 08:34:56 UTC) #34
Mike West
LGTM.
4 years, 5 months ago (2016-07-19 12:49:43 UTC) #37
commit-bot: I haz the power
This CL has an open dependency (Issue 2146333002 Patch 120001). Please resolve the dependency and ...
4 years, 5 months ago (2016-07-19 12:52:19 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2146403004/160001
4 years, 5 months ago (2016-07-22 04:31:44 UTC) #42
commit-bot: I haz the power
Committed patchset #4 (id:160001)
4 years, 5 months ago (2016-07-22 05:38:09 UTC) #44
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 05:39:20 UTC) #46
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/56b1490f30437ec92df7897ee8e7a12a9ed98691
Cr-Commit-Position: refs/heads/master@{#407074}

Powered by Google App Engine
This is Rietveld 408576698