| Index: third_party/WebKit/Source/core/frame/PRESUBMIT.py
|
| diff --git a/third_party/WebKit/Source/core/frame/PRESUBMIT.py b/third_party/WebKit/Source/core/frame/PRESUBMIT.py
|
| index 8eb93a3aae97bae6cb31bcd9d7b14766450ddadc..f4541a133a55a9cce6075d335be3b23e02b714ba 100644
|
| --- a/third_party/WebKit/Source/core/frame/PRESUBMIT.py
|
| +++ b/third_party/WebKit/Source/core/frame/PRESUBMIT.py
|
| @@ -23,7 +23,7 @@ def _RunUseCounterChecks(input_api, output_api):
|
| bucketFinder = input_api.re.compile(r'.*CSSProperty.*return\s*([0-9]+).*')
|
| # Looking for a line like "int maximumCSSSampleId() { return 452; }"
|
| maximumFinder = input_api.re.compile(
|
| - r'int maximumCSSSampleId\(\) { return ([0-9]+)')
|
| + r'constexpr int kMaximumCSSSampleId = ([0-9]+);')
|
| for line in useCounterCpp.NewContents():
|
| bucketMatch = bucketFinder.match(line)
|
| if bucketMatch:
|
|
|