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 |