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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.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/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

Powered by Google App Engine
This is Rietveld 408576698