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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.cpp

Issue 2100013002: Implement the new text-size-adjust CSS property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup convertTextSizeAdjust and add a test that better covers it Created 4 years, 6 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/frame/UseCounter.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
index 648d5a23178277b18970d9921792e3baddcdbcb9..ee400dcc895228b4cd6f2d9a81bad8c479eedeae 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -563,7 +563,8 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyFontVariantCaps: return 533;
case CSSPropertyHyphens: return 534;
case CSSPropertyFontVariantNumeric: return 535;
-
+ case CSSPropertyTextSizeAdjust: return 536;
+ case CSSPropertyAliasWebkitTextSizeAdjust: return 537;
ymalik 2016/07/12 14:40:56 Did you miss running histograms.xml after? I was a
// 1. Add new features above this line (don't change the assigned numbers of the existing
// items).
@@ -581,7 +582,7 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
}
-static int maximumCSSSampleId() { return 535; }
+static int maximumCSSSampleId() { return 537; }
static EnumerationHistogram& featureObserverHistogram()
{

Powered by Google App Engine
This is Rietveld 408576698