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

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

Issue 558473002: Remove some CSS properties from UseCounters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | no next file » | 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 f41b562253bfe83f2787b0d2266a08055708b66d..e65f2062da6af7c37dd33c915445a5096c525cde 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -269,12 +269,8 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyWebkitColumnSpan: return 225;
case CSSPropertyWebkitColumnWidth: return 226;
case CSSPropertyWebkitColumns: return 227;
-#if defined(ENABLE_CSS_BOX_DECORATION_BREAK) && ENABLE_CSS_BOX_DECORATION_BREAK
- case CSSPropertyWebkitBoxDecorationBreak: return 228;
-#endif
-#if defined(ENABLE_CSS_FILTERS) && ENABLE_CSS_FILTERS
- case CSSPropertyWebkitFilter: return 229;
-#endif
+ // case CSSPropertyWebkitBoxDecorationBreak: return 228;
+ // case CSSPropertyWebkitFilter: return 229;
case CSSPropertyAlignContent: return 230;
case CSSPropertyAlignItems: return 231;
case CSSPropertyAlignSelf: return 232;
@@ -390,12 +386,8 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
// case CSSPropertyWebkitWrapFlow: return 350;
// case CSSPropertyWebkitWrapThrough: return 351;
// CSSPropertyWebkitWrap was 352.
-#if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
- case CSSPropertyWebkitTapHighlightColor: return 353;
-#endif
-#if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION
- case CSSPropertyWebkitAppRegion: return 354;
-#endif
+ // case CSSPropertyWebkitTapHighlightColor: return 353;
+ // case CSSPropertyWebkitAppRegion: return 354;
case CSSPropertyClipPath: return 355;
case CSSPropertyClipRule: return 356;
case CSSPropertyMask: return 357;
@@ -437,9 +429,7 @@ int UseCounter::mapCSSPropertyIdToCSSSampleIdForHistogram(int id)
case CSSPropertyVectorEffect: return 393;
case CSSPropertyWritingMode: return 394;
// CSSPropertyWebkitSvgShadow has been removed, was return 395;
-#if defined(ENABLE_CURSOR_VISIBILITY) && ENABLE_CURSOR_VISIBILITY
- case CSSPropertyWebkitCursorVisibility: return 396;
-#endif
+ // CSSPropertyWebkitCursorVisibility has been removed, was return 396;
// CSSPropertyImageOrientation has been removed, was return 397;
// CSSPropertyImageResolution has been removed, was return 398;
#if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698