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

Issue 1914453002: Replace AllowCrossThreadAccess() + GCed pointers with wrapCrossThreadPersistent() (Closed)

Created:
4 years, 8 months ago by hiroshige
Modified:
4 years, 7 months ago
Reviewers:
kinuko, haraken, sof, tzik
CC:
chromium-reviews, tyoshino+watch_chromium.org, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, tommyw+watchlist_chromium.org, Justin Novosad, Raymond Toy, dglazkov+blink, Rik, blink-reviews-bindings_chromium.org, blink-reviews, kinuko+watch, hongchan, mcasas+watch+mediastream_chromium.org, yhirano+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@Kuroneko_2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace AllowCrossThreadAccess() + GCed pointers with wrapCrossThreadPersistent() This CL disallows AllowCrossThreadAccess() with GCed pointers in platform/CrossThreadCopier.h and replaces AllowCrossThreadAccess() with wrapCrossThreadPersistent() in other files where compile failed. BUG=597856 Committed: https://crrev.com/7e43c8dae9203ccc418452fafdea69a0f3a7eaef Cr-Commit-Position: refs/heads/master@{#394076}

Patch Set 1 #

Patch Set 2 : Use crossThreadRetainedRef(). #

Patch Set 3 : Rebase #

Patch Set 4 : auto-Rebase #

Patch Set 5 : Rebase. #

Total comments: 3

Messages

Total messages: 41 (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/1914453002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914453002/20001
4 years, 8 months ago (2016-04-22 13:20:30 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-22 15:00:06 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/1914453002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914453002/40001
4 years, 7 months ago (2016-04-27 06:40:32 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 08:06:20 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914453002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914453002/60001
4 years, 7 months ago (2016-04-27 09:27:39 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/219564)
4 years, 7 months ago (2016-04-27 12:24:11 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914453002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914453002/80001
4 years, 7 months ago (2016-05-17 03:23:49 UTC) #19
hiroshige
PTAL.
4 years, 7 months ago (2016-05-17 03:46:31 UTC) #22
haraken
LGTM
4 years, 7 months ago (2016-05-17 04:18:56 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/230020)
4 years, 7 months ago (2016-05-17 04:27:45 UTC) #25
tzik
lgtm
4 years, 7 months ago (2016-05-17 05:10:40 UTC) #26
kinuko
lgtm!
4 years, 7 months ago (2016-05-17 05:21:52 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914453002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914453002/80001
4 years, 7 months ago (2016-05-17 05:40:11 UTC) #29
sof
https://codereview.chromium.org/1914453002/diff/80001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp File third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp (right): https://codereview.chromium.org/1914453002/diff/80001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp#newcode223 third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp:223: BackgroundTaskRunner::postOnBackgroundThread(BLINK_FROM_HERE, threadSafeBind(&ImageBitmapFactories::ImageBitmapLoader::decodeImageOnDecoderThread, wrapCrossThreadPersistent(this), AllowCrossThreadAccess(taskRunner), wrapCrossThreadPersistent(arrayBuffer)), taskSize); Clarifying Q: why ...
4 years, 7 months ago (2016-05-17 05:44:46 UTC) #31
hiroshige
https://codereview.chromium.org/1914453002/diff/80001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp File third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp (right): https://codereview.chromium.org/1914453002/diff/80001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp#newcode223 third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp:223: BackgroundTaskRunner::postOnBackgroundThread(BLINK_FROM_HERE, threadSafeBind(&ImageBitmapFactories::ImageBitmapLoader::decodeImageOnDecoderThread, wrapCrossThreadPersistent(this), AllowCrossThreadAccess(taskRunner), wrapCrossThreadPersistent(arrayBuffer)), taskSize); On 2016/05/17 05:44:46, ...
4 years, 7 months ago (2016-05-17 05:57:12 UTC) #32
sof
https://codereview.chromium.org/1914453002/diff/80001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp File third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp (right): https://codereview.chromium.org/1914453002/diff/80001/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp#newcode223 third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp:223: BackgroundTaskRunner::postOnBackgroundThread(BLINK_FROM_HERE, threadSafeBind(&ImageBitmapFactories::ImageBitmapLoader::decodeImageOnDecoderThread, wrapCrossThreadPersistent(this), AllowCrossThreadAccess(taskRunner), wrapCrossThreadPersistent(arrayBuffer)), taskSize); On 2016/05/17 05:57:12, ...
4 years, 7 months ago (2016-05-17 06:05:24 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 06:54:12 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914453002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914453002/80001
4 years, 7 months ago (2016-05-17 07:24:01 UTC) #37
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-17 07:29:11 UTC) #39
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 07:31:07 UTC) #41
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7e43c8dae9203ccc418452fafdea69a0f3a7eaef
Cr-Commit-Position: refs/heads/master@{#394076}

Powered by Google App Engine
This is Rietveld 408576698