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

Issue 306853002: Replace Context::Scope with ScriptState::Scope (Closed)

Created:
6 years, 6 months ago by haraken
Modified:
6 years, 6 months ago
Reviewers:
dcarney, tasak, adamk
CC:
blink-reviews, vsevik+blink_chromium.org, caseq+blink_chromium.org, arv+blink, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, abarth-chromium, loislo+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, blink-reviews-bindings_chromium.org, devtools-reviews_chromium.org, apavlov+blink_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

Replace Context::Scope with ScriptState::Scope It's easy to misuse context. We should pass ScriptState around instead of contexts. BUG=357144 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175344

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -160 lines) Patch
M Source/bindings/v8/NPV8Object.cpp View 1 2 3 4 5 15 chunks +44 lines, -53 lines 0 comments Download
M Source/bindings/v8/ScriptController.cpp View 1 2 3 4 7 chunks +25 lines, -36 lines 0 comments Download
M Source/bindings/v8/ScriptDebugServer.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/ScriptDebugServer.cpp View 1 2 3 6 chunks +17 lines, -18 lines 0 comments Download
M Source/bindings/v8/V8WindowShell.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/v8/WorkerScriptController.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M Source/bindings/v8/custom/V8InjectedScriptManager.cpp View 2 chunks +8 lines, -13 lines 0 comments Download
M Source/core/inspector/InspectorOverlay.cpp View 1 2 3 4 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/testing/v8/WebCoreTestSupport.cpp View 1 2 2 chunks +9 lines, -14 lines 0 comments Download
M Source/web/InspectorFrontendClientImpl.cpp View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M Source/web/WebDevToolsFrontendImpl.cpp View 1 2 3 4 2 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
haraken
PTAL
6 years, 6 months ago (2014-05-29 09:42:42 UTC) #1
haraken
6 years, 6 months ago (2014-05-29 09:43:13 UTC) #2
haraken
Dan or AdamK: Would you take a look at this?
6 years, 6 months ago (2014-05-30 12:45:57 UTC) #3
adamk
I guess this is fine, but I'm not clear on the purpose of these changes: ...
6 years, 6 months ago (2014-05-30 19:59:21 UTC) #4
haraken
Thanks for review! Updated the CL, PTAL. > I guess this is fine, but I'm ...
6 years, 6 months ago (2014-06-02 01:14:49 UTC) #5
dcarney
lgtm
6 years, 6 months ago (2014-06-02 07:01:33 UTC) #6
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-02 07:02:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/306853002/40001
6 years, 6 months ago (2014-06-02 07:02:40 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-02 07:02:49 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/web/InspectorFrontendClientImpl.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-02 07:02:50 UTC) #10
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-02 07:05:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/306853002/60001
6 years, 6 months ago (2014-06-02 07:05:53 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-02 08:12:37 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-02 08:13:34 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/6650)
6 years, 6 months ago (2014-06-02 08:13:34 UTC) #15
haraken
jochen@: rubberstamp to web/ please?
6 years, 6 months ago (2014-06-02 08:16:03 UTC) #16
haraken
adamk@: Would you take a look at this when you have a cycle?
6 years, 6 months ago (2014-06-02 16:04:00 UTC) #17
adamk
lgtm
6 years, 6 months ago (2014-06-02 16:16:47 UTC) #18
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-02 16:16:58 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/306853002/60001
6 years, 6 months ago (2014-06-02 16:17:15 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-02 16:17:24 UTC) #21
commit-bot: I haz the power
Failed to apply patch for Source/bindings/v8/NPV8Object.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-02 16:17:25 UTC) #22
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-03 00:33:42 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/306853002/70001
6 years, 6 months ago (2014-06-03 00:34:07 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-03 03:53:08 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 04:07:02 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/12086)
6 years, 6 months ago (2014-06-03 04:07:03 UTC) #27
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-03 06:57:20 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/306853002/90001
6 years, 6 months ago (2014-06-03 06:57:53 UTC) #29
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 11:05:29 UTC) #30
Message was sent while issue was closed.
Change committed as 175344

Powered by Google App Engine
This is Rietveld 408576698