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

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

Issue 1148873005: Parsing CSS properties for scroll snap points (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix comment Created 5 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
« no previous file with comments | « Source/core/css/resolver/StyleBuilderConverter.cpp ('k') | Source/core/style/ComputedStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 33bafef013b2aea137be946057d0acf01259e2fc..3e428a6fd9eb5e249f54ef398a06eed2eef92f1d 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -532,6 +532,11 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyAliasWebkitShapeImageThreshold: return 496;
case CSSPropertyAliasWebkitShapeMargin: return 497;
case CSSPropertyAliasWebkitShapeOutside: return 498;
+ case CSSPropertyScrollSnapType: return 499;
+ case CSSPropertyScrollSnapPointsX: return 500;
+ case CSSPropertyScrollSnapPointsY: return 501;
+ case CSSPropertyScrollSnapCoordinate: return 502;
+ case CSSPropertyScrollSnapDestination: return 503;
// 1. Add new features above this line (don't change the assigned numbers of the existing
// items).
@@ -548,7 +553,7 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
return 0;
}
-static int maximumCSSSampleId() { return 498; }
+static int maximumCSSSampleId() { return 503; }
void UseCounter::muteForInspector()
{
« no previous file with comments | « Source/core/css/resolver/StyleBuilderConverter.cpp ('k') | Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698