Index: third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl |
index 9686ba65546a4003ae0c0f9f66c71a162c1a32e8..05dfe6b542224d4e5e0f4f1e8e481366f462d2fa 100644 |
--- a/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl |
@@ -63,7 +63,7 @@ void {{v8_class}}::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, {{ |
{% endif %} |
} else { |
{% if member.deprecate_as %} |
- Deprecation::countDeprecationIfNotPrivateScript(isolate, currentExecutionContext(isolate), UseCounter::{{member.deprecate_as}}); |
+ Deprecation::countDeprecation(currentExecutionContext(isolate), UseCounter::{{member.deprecate_as}}); |
{% endif %} |
{{v8_value_to_local_cpp_value(member) | indent}} |
{% if member.is_interface_type %} |