| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.cpp
|
| index b4c8bd95d1d409ace235f2c18ea45585e959f98d..a37984bd69ae19ba8d4b36c629cebd4116bcb44d 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.cpp
|
| @@ -53,16 +53,14 @@ static_assert(
|
|
|
| namespace TestConstantsV8Internal {
|
|
|
| -void DEPRECATED_CONSTANTConstantGetterCallback(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| -{
|
| - Deprecation::countDeprecationIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), UseCounter::Constant);
|
| - v8SetReturnValueInt(info, 1);
|
| +void DEPRECATED_CONSTANTConstantGetterCallback(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| + Deprecation::countDeprecationIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), UseCounter::Constant);
|
| + v8SetReturnValueInt(info, 1);
|
| }
|
|
|
| -void MEASURED_CONSTANTConstantGetterCallback(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| -{
|
| - UseCounter::countIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), UseCounter::Constant);
|
| - v8SetReturnValueInt(info, 1);
|
| +void MEASURED_CONSTANTConstantGetterCallback(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
| + UseCounter::countIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), UseCounter::Constant);
|
| + v8SetReturnValueInt(info, 1);
|
| }
|
|
|
| } // namespace TestConstantsV8Internal
|
|
|