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

Unified Diff: Source/core/dom/QualifiedName.h

Issue 15622005: Introduce LiteralSet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Cleaned Created 7 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
« no previous file with comments | « no previous file | Source/core/dom/QualifiedName.cpp » ('j') | Source/core/editing/ReplaceSelectionCommand.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/QualifiedName.h
diff --git a/Source/core/dom/QualifiedName.h b/Source/core/dom/QualifiedName.h
index 38673154a67f16684d3b44f5d599e697de86d8cd..46acd4472340be0c7e7b660da1a5d5d36f8820d7 100644
--- a/Source/core/dom/QualifiedName.h
+++ b/Source/core/dom/QualifiedName.h
@@ -123,6 +123,10 @@ inline bool operator!=(const AtomicString& a, const QualifiedName& q) { return a
inline bool operator==(const QualifiedName& q, const AtomicString& a) { return a == q.localName(); }
inline bool operator!=(const QualifiedName& q, const AtomicString& a) { return a != q.localName(); }
+// Useful with TableSet.
+bool lessThanByImplAddress(const QualifiedName* const&, const QualifiedName* const&);
eseidel 2013/05/22 00:40:14 I think these probably belong as static class meth
+bool lessThanByLocalNameImplAddress(const QualifiedName* const&, const QualifiedName* const&);
+
inline unsigned hashComponents(const QualifiedNameComponents& buf)
{
return StringHasher::hashMemory<sizeof(QualifiedNameComponents)>(&buf);
« no previous file with comments | « no previous file | Source/core/dom/QualifiedName.cpp » ('j') | Source/core/editing/ReplaceSelectionCommand.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698