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

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

Issue 2558053002: Add CSS support for font-variation-settings (Closed)
Patch Set: DCHECK corrected, newline removed. Created 4 years 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 80e96095731b90f4f460fa44a2a1d3f48f77760e..2433c7c47efc4ddd7fd2493525bdafc181bcefc8 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -45,7 +45,7 @@ int totalPagesMeasuredCSSSampleId() {
}
// Make sure update_use_counter_css.py was run which updates histograms.xml.
-constexpr int kMaximumCSSSampleId = 548;
+constexpr int kMaximumCSSSampleId = 549;
} // namespace
@@ -1064,6 +1064,8 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(
return 547;
case CSSPropertyOffsetRotate:
return 548;
+ case CSSPropertyFontVariationSettings:
+ return 549;
// 1. Add new features above this line (don't change the assigned numbers of
// the existing items).
// 2. Update kMaximumCSSSampleId with the new maximum value.

Powered by Google App Engine
This is Rietveld 408576698