| Index: third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| index 197a07527f4577b66be5623565f20512514c9337..6af4d066feb6571e373b83cf49e850bb4305d0ed 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| @@ -632,7 +632,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| {% if constructors or has_custom_constructor or has_event_constructor or has_html_constructor %}
|
| void {{v8_class}}::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| {% if measure_as %}
|
| - UseCounter::Count(CurrentExecutionContext(info.GetIsolate()), UseCounter::k{{measure_as('Constructor')}});
|
| + UseCounter::Count(CurrentExecutionContext(info.GetIsolate()), WebFeature::k{{measure_as('Constructor')}});
|
| {% endif %}
|
| if (!info.IsConstructCall()) {
|
| V8ThrowException::ThrowTypeError(info.GetIsolate(), ExceptionMessages::ConstructorNotCallableAsFunction("{{interface_name}}"));
|
|
|