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

Unified Diff: sky/engine/core/dom/custom/CustomElementDefinition.cpp

Issue 885713004: Remove CustomElementDescriptor. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/dom/custom/CustomElementDefinition.cpp
diff --git a/sky/engine/core/dom/custom/CustomElementDefinition.cpp b/sky/engine/core/dom/custom/CustomElementDefinition.cpp
index a8428d301a8aca5ec9e6bf96210b51aa55b5416c..67084d342cb0cf2e489871e9d1a657ceb829933c 100644
--- a/sky/engine/core/dom/custom/CustomElementDefinition.cpp
+++ b/sky/engine/core/dom/custom/CustomElementDefinition.cpp
@@ -33,13 +33,13 @@
namespace blink {
-PassRefPtr<CustomElementDefinition> CustomElementDefinition::create(const CustomElementDescriptor& descriptor, PassRefPtr<CustomElementLifecycleCallbacks> callbacks)
+PassRefPtr<CustomElementDefinition> CustomElementDefinition::create(const AtomicString& localName, PassRefPtr<CustomElementLifecycleCallbacks> callbacks)
{
- return adoptRef(new CustomElementDefinition(descriptor, callbacks));
+ return adoptRef(new CustomElementDefinition(localName, callbacks));
}
-CustomElementDefinition::CustomElementDefinition(const CustomElementDescriptor& descriptor, PassRefPtr<CustomElementLifecycleCallbacks> callbacks)
- : m_descriptor(descriptor)
+CustomElementDefinition::CustomElementDefinition(const AtomicString& localName, PassRefPtr<CustomElementLifecycleCallbacks> callbacks)
+ : m_localName(localName)
, m_callbacks(callbacks)
{
}
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementDefinition.h ('k') | sky/engine/core/dom/custom/CustomElementDescriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698