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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementAdoptedCallbackReaction.cpp

Issue 2170383002: CustomElements: adopt node (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge conflict resolution Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/custom/CustomElementAdoptedCallbackReaction.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementConnectedCallbackReaction.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementAdoptedCallbackReaction.cpp
similarity index 52%
copy from third_party/WebKit/Source/core/dom/custom/CustomElementConnectedCallbackReaction.cpp
copy to third_party/WebKit/Source/core/dom/custom/CustomElementAdoptedCallbackReaction.cpp
index 93b13690bccec0ff19ecf8740c4fbeb8350a32e7..da9dae9b89df5dc4d69079c2eb2fd5e7598092d9 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementConnectedCallbackReaction.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementAdoptedCallbackReaction.cpp
@@ -2,22 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "core/dom/custom/CustomElementConnectedCallbackReaction.h"
+#include "core/dom/custom/CustomElementAdoptedCallbackReaction.h"
#include "core/dom/custom/CustomElementDefinition.h"
namespace blink {
-CustomElementConnectedCallbackReaction::CustomElementConnectedCallbackReaction(
+CustomElementAdoptedCallbackReaction::CustomElementAdoptedCallbackReaction(
CustomElementDefinition* definition)
: CustomElementReaction(definition)
{
- DCHECK(definition->hasConnectedCallback());
+ DCHECK(definition->hasAdoptedCallback());
}
-void CustomElementConnectedCallbackReaction::invoke(Element* element)
+void CustomElementAdoptedCallbackReaction::invoke(Element* element)
{
- m_definition->runConnectedCallback(element);
+ m_definition->runAdoptedCallback(element);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698