diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-13 16:23:34 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-14 10:37:21 +0000 |
commit | 38a9a29f4f9436cace7f0e7abf9c586057df8a4e (patch) | |
tree | c4e8c458dc595bc0ddb435708fa2229edfd00bd4 /chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_callback_invocation.cc | |
parent | e684a3455bcc29a6e3e66a004e352dea4e1141e7 (diff) | |
download | qtwebengine-chromium-38a9a29f4f9436cace7f0e7abf9c586057df8a4e.tar.gz |
BASELINE: Update Chromium to 73.0.3683.37
Change-Id: I08c9af2948b645f671e5d933aca1f7a90ea372f2
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_callback_invocation.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_callback_invocation.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_callback_invocation.cc b/chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_callback_invocation.cc index d34f4a8b9ca..8550ba58cb0 100644 --- a/chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_callback_invocation.cc +++ b/chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_callback_invocation.cc @@ -124,11 +124,11 @@ V0CustomElementCallbackInvocation::CreateInvocation( V0CustomElementLifecycleCallbacks::CallbackType which) { switch (which) { case V0CustomElementLifecycleCallbacks::kCreatedCallback: - return new CreatedInvocation(callbacks); + return MakeGarbageCollected<CreatedInvocation>(callbacks); case V0CustomElementLifecycleCallbacks::kAttachedCallback: case V0CustomElementLifecycleCallbacks::kDetachedCallback: - return new AttachedDetachedInvocation(callbacks, which); + return MakeGarbageCollected<AttachedDetachedInvocation>(callbacks, which); default: NOTREACHED(); return nullptr; @@ -141,10 +141,11 @@ V0CustomElementCallbackInvocation::CreateAttributeChangedInvocation( const AtomicString& name, const AtomicString& old_value, const AtomicString& new_value) { - return new AttributeChangedInvocation(callbacks, name, old_value, new_value); + return MakeGarbageCollected<AttributeChangedInvocation>(callbacks, name, + old_value, new_value); } -void V0CustomElementCallbackInvocation::Trace(blink::Visitor* visitor) { +void V0CustomElementCallbackInvocation::Trace(Visitor* visitor) { visitor->Trace(callbacks_); V0CustomElementProcessingStep::Trace(visitor); } |