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

Issue 2671553003: Remove uses of VisitDOMWrapper (Closed)

Created:
3 years, 10 months ago by Michael Lippautz
Modified:
3 years, 10 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, Ken Russell (switch to Gerrit), rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove uses of VisitDOMWrapper - Remove VisitDOMWrapper and VisitDOMWrapperCustom - Remove IDL attributes Custom=VisitDOMWrapper This patch leaves behind SetWrapperReferenceFrom and SetReferenceTo with empty implementations which are cleaned up in a separate CL. BUG=chromium:682688 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2671553003 Cr-Commit-Position: refs/heads/master@{#448124} Committed: https://chromium.googlesource.com/chromium/src/+/557d8dae7b89fd745eddb5d690e048795db7f448

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : run-bindings-tests --reset-results #

Patch Set 4 : Add DependentLifetime when removing Custom=VisitDOMWrapper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -555 lines) Patch
M third_party/WebKit/Source/bindings/IDLExtendedAttributes.md View 1 1 chunk +0 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/bindings/bindings.gni View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h View 2 chunks +0 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp View 1 chunk +0 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h View 2 chunks +0 lines, -10 lines 0 comments Download
D third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleRuleCustom.cpp View 1 chunk +0 lines, -58 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8IntersectionObserverCustom.cpp View 1 chunk +0 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp View 1 chunk +0 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8PromiseRejectionEventCustom.cpp View 1 chunk +0 lines, -9 lines 0 comments Download
D third_party/WebKit/Source/bindings/modules/v8/custom/V8MediaSessionCustom.cpp View 1 chunk +0 lines, -20 lines 0 comments Download
D third_party/WebKit/Source/bindings/modules/v8/custom/V8RemotePlaybackCustom.cpp View 1 chunk +0 lines, -20 lines 0 comments Download
D third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGL2RenderingContextCustom.cpp View 1 chunk +0 lines, -22 lines 0 comments Download
D third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGLRenderingContextCustom.cpp View 1 chunk +0 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/custom/custom.gni View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_interface.py View 1 2 chunks +1 line, -7 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl View 2 chunks +1 line, -31 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.h.tmpl View 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl View 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/idls/core/TestInterface3.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBuffer.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBufferView.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8DataView.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackFunctions.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp View 1 2 2 chunks +1 line, -11 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor3.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEmpty.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventTarget.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestNode.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSStyleRule.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/IntersectionObserver.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/MutationObserver.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/PromiseRejectionEvent.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaSession.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.idl View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 chunk +0 lines, -47 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLObject.h View 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLProgram.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 chunk +0 lines, -47 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.cpp View 1 chunk +0 lines, -11 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 37 (25 generated)
Michael Lippautz
ptal and lmk if we should also remove SetWrapperReferenceFrom and SetWrapperReferenceTo in this CL.
3 years, 10 months ago (2017-02-02 19:54:54 UTC) #8
Michael Lippautz
On 2017/02/02 19:54:54, Michael Lippautz (slow travel) wrote: > ptal and lmk if we should ...
3 years, 10 months ago (2017-02-02 19:55:21 UTC) #9
haraken
LGTM!!
3 years, 10 months ago (2017-02-02 20:54:09 UTC) #12
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/2671553003/120001
3 years, 10 months ago (2017-02-03 03:07:10 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/375596)
3 years, 10 months ago (2017-02-03 03:23:31 UTC) #22
jochen (gone - plz use gerrit)
lgtm once it actually works :)
3 years, 10 months ago (2017-02-03 06:30:27 UTC) #23
Michael Lippautz
haraken/jochen: please take another look Custom=VisitDOMWrapper implied DependentLifetime, so I am adding not DependentLifetime explicitly ...
3 years, 10 months ago (2017-02-03 22:28:03 UTC) #24
Michael Lippautz
On 2017/02/03 22:28:03, Michael Lippautz (slow travel) wrote: > haraken/jochen: please take another look > ...
3 years, 10 months ago (2017-02-03 22:32:11 UTC) #27
Michael Lippautz
On 2017/02/03 22:32:11, Michael Lippautz (slow travel) wrote: > On 2017/02/03 22:28:03, Michael Lippautz (slow ...
3 years, 10 months ago (2017-02-04 00:10:39 UTC) #30
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/2671553003/140001
3 years, 10 months ago (2017-02-04 00:11:20 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:140001) as https://chromium.googlesource.com/chromium/src/+/557d8dae7b89fd745eddb5d690e048795db7f448
3 years, 10 months ago (2017-02-04 00:44:50 UTC) #36
haraken
3 years, 10 months ago (2017-02-04 09:20:01 UTC) #37
Message was sent while issue was closed.
On 2017/02/04 00:44:50, commit-bot: I haz the power wrote:
> Committed patchset #4 (id:140001) as
>
https://chromium.googlesource.com/chromium/src/+/557d8dae7b89fd745eddb5d690e0...

LGTM

Powered by Google App Engine
This is Rietveld 408576698