| Index: third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl
|
| index d96078d83be96bf191c14d7fb24134a736124a53..3921a26adb2da55302d4cd6bd1501c2286cd8bf9 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/constants.cpp.tmpl
|
| @@ -2,10 +2,10 @@
|
| {% macro constant_getter_callback(constant) %}
|
| void {{constant.name}}ConstantGetterCallback(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| {% if constant.deprecate_as %}
|
| - Deprecation::countDeprecationIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), UseCounter::{{constant.deprecate_as}});
|
| + Deprecation::countDeprecation(currentExecutionContext(info.GetIsolate()), UseCounter::{{constant.deprecate_as}});
|
| {% endif %}
|
| {% if constant.measure_as %}
|
| - UseCounter::countIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), UseCounter::{{constant.measure_as('ConstantGetter')}});
|
| + UseCounter::count(currentExecutionContext(info.GetIsolate()), UseCounter::{{constant.measure_as('ConstantGetter')}});
|
| {% endif %}
|
| {% if constant.idl_type in ('Double', 'Float') %}
|
| v8SetReturnValue(info, {{constant.value}});
|
|
|