Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / core / v8 / custom / V8HTMLAllCollectionCustom.cpp
index 16f6044..f973a79 100644 (file)
@@ -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));