Index: Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
index a8886c39d6a44522a86ebf02d455f3b3ee59ef7e..6eb9b784cc6fbb664ace2ddf405d178a2e63d4ba 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
@@ -280,7 +280,7 @@ v8::Handle<v8::FunctionTemplate> V8TestInterfaceConstructorConstructor::domTempl |
void V8TestInterfaceConstructor::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); |
- UseCounter::count(callingExecutionContext(info.GetIsolate()), UseCounter::TestFeature); |
+ UseCounter::countIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::TestFeature); |
if (!info.IsConstructCall()) { |
V8ThrowException::throwTypeError(ExceptionMessages::constructorNotCallableAsFunction("TestInterfaceConstructor"), info.GetIsolate()); |
return; |