| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp
|
| index 1ecd97782609ac828f6d3fe857bb1a055931053c..4c0349500b8151f69e1b9bd2bddbba5a65eb38a8 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp
|
| @@ -163,17 +163,15 @@ void invokeOnScriptableObject(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| void V8HTMLEmbedElement::legacyCallCustom(
|
| const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| invokeOnScriptableObject<V8HTMLEmbedElement>(info);
|
| - Deprecation::countDeprecationIfNotPrivateScript(
|
| - info.GetIsolate(), currentExecutionContext(info.GetIsolate()),
|
| - UseCounter::HTMLEmbedElementLegacyCall);
|
| + Deprecation::countDeprecation(currentExecutionContext(info.GetIsolate()),
|
| + UseCounter::HTMLEmbedElementLegacyCall);
|
| }
|
|
|
| void V8HTMLObjectElement::legacyCallCustom(
|
| const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| invokeOnScriptableObject<V8HTMLObjectElement>(info);
|
| - Deprecation::countDeprecationIfNotPrivateScript(
|
| - info.GetIsolate(), currentExecutionContext(info.GetIsolate()),
|
| - UseCounter::HTMLObjectElementLegacyCall);
|
| + Deprecation::countDeprecation(currentExecutionContext(info.GetIsolate()),
|
| + UseCounter::HTMLObjectElementLegacyCall);
|
| }
|
|
|
| } // namespace blink
|
|
|