Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698