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

Issue 598903002: blink::shutdown() should not touch a message loop (Closed)

Created:
6 years, 3 months ago by haraken
Modified:
6 years, 2 months ago
CC:
blink-reviews, mkwst+moarreviews_chromium.org
Project:
blink
Visibility:
Public.

Description

blink::shutdown() should not touch a message loop We're planning to destruct a message loop of the main thread before Chromium calls blink::shutdown() (See https://codereview.chromium.org/583043005/). Thus blink::shutdown() is not allowed to touch the message loop. This CL removes code in blink::shutdown() that touches the message loop. BUG=411026 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182655

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M Source/web/WebKit.cpp View 1 2 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
haraken
jamesr@: Would you take a look at this?
6 years, 3 months ago (2014-09-25 06:23:57 UTC) #2
jamesr
lgtm https://codereview.chromium.org/598903002/diff/20001/Source/web/WebKit.cpp File Source/web/WebKit.cpp (right): https://codereview.chromium.org/598903002/diff/20001/Source/web/WebKit.cpp#newcode184 Source/web/WebKit.cpp:184: ASSERT(s_endOfTaskRunner); this ASSERT() isn't needed any more. delete ...
6 years, 3 months ago (2014-09-25 06:52:16 UTC) #3
haraken
Thanks for quick review! https://codereview.chromium.org/598903002/diff/20001/Source/web/WebKit.cpp File Source/web/WebKit.cpp (right): https://codereview.chromium.org/598903002/diff/20001/Source/web/WebKit.cpp#newcode184 Source/web/WebKit.cpp:184: ASSERT(s_endOfTaskRunner); On 2014/09/25 06:52:16, jamesr ...
6 years, 3 months ago (2014-09-25 06:53:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/598903002/40001
6 years, 3 months ago (2014-09-25 06:54:04 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 182655
6 years, 2 months ago (2014-09-25 08:00:50 UTC) #7
Mads Ager (chromium)
6 years, 2 months ago (2014-09-25 11:38:39 UTC) #9
Message was sent while issue was closed.
Sorry about the slow response Haraken. LGTM too. Thanks to both you and James
for making sure that we do not touch Blink objects after Blink::shutdown!

Powered by Google App Engine
This is Rietveld 408576698