diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-05-20 09:47:09 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-06-07 11:15:42 +0000 |
commit | 189d4fd8fad9e3c776873be51938cd31a42b6177 (patch) | |
tree | 6497caeff5e383937996768766ab3bb2081a40b2 /chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_microtask_resolution_step.cc | |
parent | 8bc75099d364490b22f43a7ce366b366c08f4164 (diff) | |
download | qtwebengine-chromium-189d4fd8fad9e3c776873be51938cd31a42b6177.tar.gz |
BASELINE: Update Chromium to 90.0.4430.221
Change-Id: Iff4d9d18d2fcf1a576f3b1f453010f744a232920
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_microtask_resolution_step.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_microtask_resolution_step.cc | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_microtask_resolution_step.cc b/chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_microtask_resolution_step.cc deleted file mode 100644 index f0a9f551f81..00000000000 --- a/chromium/third_party/blink/renderer/core/html/custom/v0_custom_element_microtask_resolution_step.cc +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2013 Google Inc. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. - * 3. Neither the name of Google Inc. nor the names of its contributors - * may be used to endorse or promote products derived from this - * software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#include "third_party/blink/renderer/core/html/custom/v0_custom_element_microtask_resolution_step.h" - -#include "third_party/blink/renderer/core/dom/element.h" -#include "third_party/blink/renderer/core/html/custom/v0_custom_element_registration_context.h" - -namespace blink { - -V0CustomElementMicrotaskResolutionStep::V0CustomElementMicrotaskResolutionStep( - V0CustomElementRegistrationContext* context, - Element* element, - const V0CustomElementDescriptor& descriptor) - : context_(context), element_(element), descriptor_(descriptor) {} - -V0CustomElementMicrotaskResolutionStep:: - ~V0CustomElementMicrotaskResolutionStep() = default; - -V0CustomElementMicrotaskStep::Result -V0CustomElementMicrotaskResolutionStep::Process() { - context_->Resolve(element_.Get(), descriptor_); - return V0CustomElementMicrotaskStep::kFinishedProcessing; -} - -void V0CustomElementMicrotaskResolutionStep::Trace(Visitor* visitor) const { - visitor->Trace(context_); - visitor->Trace(element_); - V0CustomElementMicrotaskStep::Trace(visitor); -} - -#if !defined(NDEBUG) -void V0CustomElementMicrotaskResolutionStep::Show(unsigned indent) { - fprintf(stderr, "%*sResolution: ", indent, ""); - element_->outerHTML().Show(); -} -#endif - -} // namespace blink |