Index: third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp b/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp |
index f2441953d19e9b63ea79cffb144a4cc4dc2d031a..d7b57d5ba30ac76974983f2a9b4b0b770868601b 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp |
@@ -74,9 +74,8 @@ unsigned V8NodeFilterCondition::acceptNode( |
v8::Local<v8::Function> callback; |
v8::Local<v8::Value> receiver; |
if (filter->IsFunction()) { |
- UseCounter::countIfNotPrivateScript(isolate, |
- currentExecutionContext(isolate), |
- UseCounter::NodeFilterIsFunction); |
+ UseCounter::count(currentExecutionContext(isolate), |
+ UseCounter::NodeFilterIsFunction); |
callback = v8::Local<v8::Function>::Cast(filter); |
receiver = v8::Undefined(isolate); |
} else { |
@@ -95,9 +94,8 @@ unsigned V8NodeFilterCondition::acceptNode( |
"NodeFilter object does not have an acceptNode function"); |
return NodeFilter::kFilterReject; |
} |
- UseCounter::countIfNotPrivateScript(isolate, |
- currentExecutionContext(isolate), |
- UseCounter::NodeFilterIsObject); |
+ UseCounter::count(currentExecutionContext(isolate), |
+ UseCounter::NodeFilterIsObject); |
callback = v8::Local<v8::Function>::Cast(value); |
receiver = filter; |
} |