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

Unified Diff: sky/engine/core/dom/custom/CustomElementDescriptorHash.h

Issue 831993005: Remove custom element type extensions. (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/CustomElementDescriptorHash.h
diff --git a/sky/engine/core/dom/custom/CustomElementDescriptorHash.h b/sky/engine/core/dom/custom/CustomElementDescriptorHash.h
index 7740c14c85f3b59ec9cf33a5e958da86206de141..491a3a24e176b8fc8cb4dbbb27ce56ce1627e169 100644
--- a/sky/engine/core/dom/custom/CustomElementDescriptorHash.h
+++ b/sky/engine/core/dom/custom/CustomElementDescriptorHash.h
@@ -41,7 +41,7 @@ namespace blink {
struct CustomElementDescriptorHash {
static unsigned hash(const CustomElementDescriptor& descriptor)
{
- return WTF::pairIntHash(AtomicStringHash::hash(descriptor.type()), AtomicStringHash::hash(descriptor.localName()));
+ return AtomicStringHash::hash(descriptor.localName());
}
static bool equal(const CustomElementDescriptor& a, const CustomElementDescriptor& b)
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementDescriptor.h ('k') | sky/engine/core/dom/custom/CustomElementRegistrationContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698