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

Issue 2724153002: ScriptStreamer: make state variables main-thread-only. (Closed)

Created:
3 years, 9 months ago by jbroman
Modified:
3 years, 9 months ago
Reviewers:
haraken, sof, marja
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ScriptStreamer: make state variables main-thread-only. After this CL, |m_parsingFinished| is not set to true until the task posted back to the main thread runs. After that, all access to the boolean variables commented as protected by |ScriptStreamer::m_mutex| seems to be on the main thread, so the mutex is also removed. BUG=697651 Review-Url: https://codereview.chromium.org/2724153002 Cr-Commit-Position: refs/heads/master@{#454568} Committed: https://chromium.googlesource.com/chromium/src/+/84609d29dbdaffc45415fc4b7ef6443096473d8b

Patch Set 1 #

Patch Set 2 : also update comment #

Total comments: 2

Patch Set 3 : remove reference to mutex in comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -23 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h View 2 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp View 1 2 6 chunks +7 lines, -17 lines 0 comments Download

Messages

Total messages: 29 (21 generated)
jbroman
3 years, 9 months ago (2017-03-02 15:00:39 UTC) #12
haraken
LGTM
3 years, 9 months ago (2017-03-02 16:24:27 UTC) #13
sof
https://codereview.chromium.org/2724153002/diff/20001/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp (right): https://codereview.chromium.org/2724153002/diff/20001/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp#newcode375 third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp:375: // The task might delete ScriptStreamer, so it's not ...
3 years, 9 months ago (2017-03-02 18:34:27 UTC) #15
jbroman
https://codereview.chromium.org/2724153002/diff/20001/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp (right): https://codereview.chromium.org/2724153002/diff/20001/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp#newcode375 third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp:375: // The task might delete ScriptStreamer, so it's not ...
3 years, 9 months ago (2017-03-02 19:47:18 UTC) #18
sof
lgtm
3 years, 9 months ago (2017-03-02 19:59:45 UTC) #20
marja
lgtm
3 years, 9 months ago (2017-03-03 10:27:17 UTC) #23
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/2724153002/40001
3 years, 9 months ago (2017-03-03 12:48:49 UTC) #26
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 12:52:56 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/84609d29dbdaffc45415fc4b7ef6...

Powered by Google App Engine
This is Rietveld 408576698