Chromium Code Reviews| 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 9c7697cf8de2c99eb18ac9028cf657d53860953d..18bfead92e66db61ce348c0e789ec2200007ba56 100644 |
| --- a/third_party/WebKit/Source/core/frame/UseCounter.cpp |
| +++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp |
| @@ -46,7 +46,7 @@ int totalPagesMeasuredCSSSampleId() { |
| } |
| // Make sure update_use_counter_css.py was run which updates histograms.xml. |
| -constexpr int kMaximumCSSSampleId = 560; |
| +constexpr int kMaximumCSSSampleId = 563; |
| } // namespace |
| @@ -1084,6 +1084,12 @@ int UseCounter::MapCSSPropertyIdToCSSSampleIdForHistogram( |
| return 559; |
| case CSSPropertyPlaceSelf: |
| return 560; |
| + case CSSPropertyScrollBoundaryBehavior: |
| + return 561; |
| + case CSSPropertyScrollBoundaryBehaviorX: |
| + return 562; |
| + case CSSPropertyScrollBoundaryBehaviorY: |
|
bokan
2017/05/19 19:35:57
You'll need matching changes in histograms.xml
sunyunjia
2017/05/25 20:07:10
Done.
|
| + return 563; |
| // 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. |