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

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

Issue 485053002: Account for MathML tags / attributes in staticQualifiedNamesCount (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Sort alphabetically Created 6 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/QualifiedName.cpp
diff --git a/Source/core/dom/QualifiedName.cpp b/Source/core/dom/QualifiedName.cpp
index cabb024e452773dd751ccb3b90b97a097831e7f9..264178ba1dbbab155c7f9f5e52648bb4b7f3238f 100644
--- a/Source/core/dom/QualifiedName.cpp
+++ b/Source/core/dom/QualifiedName.cpp
@@ -22,6 +22,7 @@
#include "core/dom/QualifiedName.h"
#include "core/HTMLNames.h"
+#include "core/MathMLNames.h"
#include "core/SVGNames.h"
#include "core/XLinkNames.h"
#include "core/XMLNSNames.h"
@@ -34,6 +35,7 @@
namespace blink {
static const int staticQualifiedNamesCount = HTMLNames::HTMLTagsCount + HTMLNames::HTMLAttrsCount
+ + MathMLNames::MathMLTagsCount + MathMLNames::MathMLAttrsCount
eseidel 2014/08/20 17:06:23 This seems pretty brittle. Can we add an ASSERT s
+ SVGNames::SVGTagsCount + SVGNames::SVGAttrsCount
+ XLinkNames::XLinkAttrsCount
+ XMLNSNames::XMLNSAttrsCount
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698