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

Unified Diff: third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp

Issue 1587673005: Add counters for <menuitem>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp b/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp
index 823705437b382c8da8b8fee7af3428bcfd2e5304..a759a8f54567f93cc1725c9f200cf27e734b6675 100644
--- a/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLUnknownElement.cpp
@@ -15,6 +15,8 @@ HTMLUnknownElement::HTMLUnknownElement(const QualifiedName& tagName, Document& d
UseCounter::count(document, UseCounter::DataElement);
else if (tagName.localName() == "time")
UseCounter::count(document, UseCounter::TimeElement);
+ else if (tagName.localName() == "menuitem")
+ UseCounter::count(document, UseCounter::MenuItemElement);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698