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

Unified Diff: Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp

Issue 656693002: Don't count UseCounters in private scripts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months 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: Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp b/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
index 16f6044a9c2a7ccd277e375e03f6671b94745fbf..f973a79c4213046eb16d405e38986aa9b4482c9a 100644
--- a/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp
@@ -98,7 +98,7 @@ void V8HTMLAllCollection::legacyCallCustom(const v8::FunctionCallbackInfo<v8::Va
HTMLAllCollection* impl = V8HTMLAllCollection::toImpl(info.Holder());
Node& ownerNode = impl->ownerNode();
- UseCounter::count(ownerNode.document(), UseCounter::DocumentAllLegacyCall);
+ UseCounter::countIfNotPrivateScript(info.GetIsolate(), ownerNode.document(), UseCounter::DocumentAllLegacyCall);
if (info.Length() == 1) {
v8SetReturnValue(info, getItem(impl, info[0], info));
« no previous file with comments | « Source/bindings/core/v8/custom/V8ElementCustom.cpp ('k') | Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698