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

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

Issue 1058723004: Use counter for tabStop. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase and renumber again Created 5 years, 9 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/Element.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 5dfcd1fc6da28f908bcf73e18c992e52aa4cf061..a1f067d40d2850970a6eac67e81b2f5ca3908a4b 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -2100,6 +2100,7 @@ void Element::parseAttribute(const QualifiedName& name, const AtomicString& valu
setTabIndexExplicitly(max(static_cast<int>(std::numeric_limits<short>::min()), std::min(tabindex, static_cast<int>(std::numeric_limits<short>::max()))));
}
} else if (RuntimeEnabledFeatures::tabStopAttributeEnabled() && name == tabstopAttr) {
+ UseCounter::count(document(), UseCounter::TabStopAttribute);
if (!hasAttribute(tabstopAttr)) {
// tabstop attribute removed.
clearElementFlag(TabStopWasSetExplicitly);
« no previous file with comments | « no previous file | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698