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 eb7dded86a474eee9547b517147c7a2ed14e6cad..4fe897d9cb9c841d1d8c9a471bed6163df86866b 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.cpp |
@@ -55,12 +55,12 @@ 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); |
+ Deprecation::countDeprecation(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); |
+ UseCounter::count(currentExecutionContext(info.GetIsolate()), UseCounter::Constant); |
v8SetReturnValueInt(info, 1); |
} |