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

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

Issue 2003033004: Split custom element script use and move it into bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback. Created 4 years, 7 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/CustomElementDefinition.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
index b838c2129dcd529678251745ec9f878996eda906..0e9fb986ac4b248e3d095790b443e4d0ebf698e0 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
@@ -7,19 +7,13 @@
namespace blink {
CustomElementDefinition::CustomElementDefinition(
- CustomElementsRegistry* registry,
- CustomElementsRegistry::Id id,
const CustomElementDescriptor& descriptor)
- : m_registry(registry)
- , m_id(id)
- , m_descriptor(descriptor)
+ : m_descriptor(descriptor)
{
}
-v8::Local<v8::Object> CustomElementDefinition::prototype(
- ScriptState* scriptState) const
+CustomElementDefinition::~CustomElementDefinition()
{
- return m_registry->prototype(scriptState, *this);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698