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

Issue 2479133002: [wrapper-tracing] Fix dispatching of TraceWrapperv8Reference (Closed)

Created:
4 years, 1 month ago by Michael Lippautz
Modified:
4 years, 1 month ago
Reviewers:
haraken, Marcel Hlopko
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[wrapper-tracing] Fix dispatching of TraceWrapperv8Reference Untangle TraceWrapperV8Reference from ScopedPersistent. This is required as the combination of vtable and templates makes it impossible to properly cast to the needed type. BUG=chromium:662303 Committed: https://crrev.com/589b820cd653d34fb6bd3da77f147292b480533e Cr-Commit-Position: refs/heads/master@{#430295}

Patch Set 1 #

Total comments: 17

Patch Set 2 : Better doc comment #

Patch Set 3 : Addressed comments #

Patch Set 4 : Regenerate bindings results #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -65 lines) Patch
M third_party/WebKit/Source/bindings/bindings.gni View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h View 1 chunk +0 lines, -42 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorTest.cpp View 2 chunks +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h View 1 2 1 chunk +81 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_callback_function.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/AnyCallbackFunctionOptionalAnyArg.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/AnyCallbackFunctionOptionalAnyArg.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/PromiseRejectionEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
Michael Lippautz
ptal https://codereview.chromium.org/2479133002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h File third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h (left): https://codereview.chromium.org/2479133002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h#oldcode107 third_party/WebKit/Source/bindings/core/v8/ScopedPersistent.h:107: const ScopedPersistent<S>& cast() const { Dead code. https://codereview.chromium.org/2479133002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h ...
4 years, 1 month ago (2016-11-07 10:36:13 UTC) #3
Marcel Hlopko
lgtm
4 years, 1 month ago (2016-11-07 14:16:09 UTC) #5
haraken
LGTM with comments. https://codereview.chromium.org/2479133002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h File third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h (right): https://codereview.chromium.org/2479133002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h#newcode15 third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h:15: * unless traced. If the wrapper ...
4 years, 1 month ago (2016-11-07 14:27:58 UTC) #6
Michael Lippautz
https://codereview.chromium.org/2479133002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h File third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h (right): https://codereview.chromium.org/2479133002/diff/1/third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h#newcode15 third_party/WebKit/Source/bindings/core/v8/TraceWrapperV8Reference.h:15: * unless traced. On 2016/11/07 14:27:58, haraken wrote: > ...
4 years, 1 month ago (2016-11-07 15:07:15 UTC) #7
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/2479133002/60001
4 years, 1 month ago (2016-11-07 16:46:33 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-07 16:51:30 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 17:13:33 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/589b820cd653d34fb6bd3da77f147292b480533e
Cr-Commit-Position: refs/heads/master@{#430295}

Powered by Google App Engine
This is Rietveld 408576698