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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.h

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/core/frame/Deprecation.h
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.h b/third_party/WebKit/Source/core/frame/Deprecation.h
index 080a590ab3bd6f796dfcbf8544b2cd63189902dc..1e7e2a33126e4ae98da57b4e39c9bd4f44fd590f 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.h
+++ b/third_party/WebKit/Source/core/frame/Deprecation.h
@@ -42,12 +42,7 @@ class CORE_EXPORT Deprecation {
static void countDeprecation(const LocalFrame*, UseCounter::Feature);
static void countDeprecation(ExecutionContext*, UseCounter::Feature);
static void countDeprecation(const Document&, UseCounter::Feature);
- // Use countDeprecationIfNotPrivateScript() instead of countDeprecation()
- // if you don't want to count metrics in private scripts. You should use
- // countDeprecationIfNotPrivateScript() in a binding layer.
- static void countDeprecationIfNotPrivateScript(v8::Isolate*,
- ExecutionContext*,
- UseCounter::Feature);
+
// Count only features if they're being used in an iframe which does not
// have script access into the top level document.
static void countDeprecationCrossOriginIframe(const LocalFrame*,
« no previous file with comments | « third_party/WebKit/Source/core/dom/ExceptionCode.h ('k') | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698