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

Issue 23788005: Remove calls to HandleScope default ctor. (Closed)

Created:
7 years, 3 months ago by marja
Modified:
7 years, 3 months ago
Reviewers:
haraken, dcarney, pfeldman
CC:
blink-reviews, eae+blinkwatch, dominicc+watchlist_chromium.org, apavlov+blink_chromium.org, adamk+blink_chromium.org, aandrey+blink_chromium.org, do-not-use, Nils Barth (inactive), caseq+blink_chromium.org, Nate Chapin, yurys+blink_chromium.org, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, devtools-reviews_chromium.org, kenneth.christiansen, loislo+blink_chromium.org, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, darktears, haraken, kojih, jsbell+bindings_chromium.org, alph+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org
Visibility:
Public.

Description

Remove calls to HandleScope default ctor. It's replaced by a version which takes an isolate. The default ctor will be removed soon. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157217

Patch Set 1 #

Total comments: 4

Patch Set 2 : code review (haraken) #

Patch Set 3 : no fixme #

Total comments: 2

Patch Set 4 : code review (pfeldman) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -91 lines) Patch
M Source/bindings/v8/DOMRequestState.h View 3 chunks +9 lines, -1 line 0 comments Download
M Source/bindings/v8/NPV8Object.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/ScriptCallStackFactory.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/ScriptCallStackFactory.cpp View 2 chunks +10 lines, -8 lines 0 comments Download
M Source/bindings/v8/ScriptController.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/v8/ScriptController.cpp View 7 chunks +9 lines, -9 lines 0 comments Download
M Source/bindings/v8/ScriptEventListener.cpp View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M Source/bindings/v8/ScriptHeapSnapshot.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/ScriptScope.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/v8/ScriptState.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/ScriptState.cpp View 3 chunks +5 lines, -4 lines 0 comments Download
M Source/bindings/v8/ScriptString.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/SerializedScriptValue.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/V8Binding.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/v8/V8Binding.cpp View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp View 4 chunks +6 lines, -6 lines 0 comments Download
M Source/bindings/v8/V8DOMWrapper.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8EventListenerList.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8Initializer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8LazyEventListener.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/V8PerContextData.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/WorkerScriptController.h View 1 chunk +3 lines, -1 line 0 comments Download
M Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/custom/V8InjectedScriptManager.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/v8/custom/V8PromiseCustom.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/MediaQueryListListener.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorIndexedDBAgent.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/inspector/InspectorOverlay.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/inspector/ScriptProfile.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/testing/v8/WebCoreTestSupport.cpp View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/testing/runner/TestRunner.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/InspectorFrontendClientImpl.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebBindings.cpp View 2 chunks +8 lines, -9 lines 0 comments Download
M Source/web/WebDevToolsFrontendImpl.cpp View 1 chunk +5 lines, -3 lines 0 comments Download
M Source/web/WebTestingSupport.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/tests/CustomEventTest.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
marja
dcarney, ptal
7 years, 3 months ago (2013-09-02 07:49:20 UTC) #1
dcarney
lgtm
7 years, 3 months ago (2013-09-02 07:54:20 UTC) #2
haraken
LGTM https://codereview.chromium.org/23788005/diff/1/Source/bindings/v8/V8Binding.cpp File Source/bindings/v8/V8Binding.cpp (right): https://codereview.chromium.org/23788005/diff/1/Source/bindings/v8/V8Binding.cpp#newcode593 Source/bindings/v8/V8Binding.cpp:593: v8::Isolate* getIsolateFromScriptExecutionContext(ScriptExecutionContext* context) The implementation of this method ...
7 years, 3 months ago (2013-09-02 08:05:55 UTC) #3
marja
thanks for review! https://codereview.chromium.org/23788005/diff/1/Source/bindings/v8/V8Binding.cpp File Source/bindings/v8/V8Binding.cpp (right): https://codereview.chromium.org/23788005/diff/1/Source/bindings/v8/V8Binding.cpp#newcode593 Source/bindings/v8/V8Binding.cpp:593: v8::Isolate* getIsolateFromScriptExecutionContext(ScriptExecutionContext* context) On 2013/09/02 08:05:56, ...
7 years, 3 months ago (2013-09-02 09:05:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/23788005/8001
7 years, 3 months ago (2013-09-02 09:07:22 UTC) #5
marja
Offline discussion: removed the FIXME, this is the right way to do it :)
7 years, 3 months ago (2013-09-02 09:18:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/23788005/14001
7 years, 3 months ago (2013-09-02 09:18:15 UTC) #7
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=6327
7 years, 3 months ago (2013-09-02 09:29:37 UTC) #8
marja
Oops, more OWNERS needed. pfeldman@, could you review the following files Source/web/InspectorFrontendClientImpl.cpp Source/web/WebBindings.cpp Source/web/WebDevToolsFrontendImpl.cpp Source/web/WebTestingSupport.cpp ...
7 years, 3 months ago (2013-09-02 09:43:10 UTC) #9
pfeldman
Source/web lgtm https://codereview.chromium.org/23788005/diff/14001/Source/web/tests/CustomEventTest.cpp File Source/web/tests/CustomEventTest.cpp (right): https://codereview.chromium.org/23788005/diff/14001/Source/web/tests/CustomEventTest.cpp#newcode109 Source/web/tests/CustomEventTest.cpp:109: v8::HandleScope handleScope(frame->frame()->script()->isolate()); Looks like a pattern. ScriptController::GetIsolate(Frame ...
7 years, 3 months ago (2013-09-03 09:40:20 UTC) #10
marja
thanks for review https://codereview.chromium.org/23788005/diff/14001/Source/web/tests/CustomEventTest.cpp File Source/web/tests/CustomEventTest.cpp (right): https://codereview.chromium.org/23788005/diff/14001/Source/web/tests/CustomEventTest.cpp#newcode109 Source/web/tests/CustomEventTest.cpp:109: v8::HandleScope handleScope(frame->frame()->script()->isolate()); On 2013/09/03 09:40:21, pfeldman ...
7 years, 3 months ago (2013-09-03 11:09:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/23788005/26001
7 years, 3 months ago (2013-09-03 11:10:44 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=4007
7 years, 3 months ago (2013-09-03 13:35:19 UTC) #13
marja
I ran the win_blink_rel again and now it passed, even if it failed consistently before ...
7 years, 3 months ago (2013-09-04 12:14:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/23788005/26001
7 years, 3 months ago (2013-09-04 12:15:03 UTC) #15
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 15:27:43 UTC) #16
Message was sent while issue was closed.
Change committed as 157217

Powered by Google App Engine
This is Rietveld 408576698