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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.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/core/frame/UseCounter.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
index 2433c7c47efc4ddd7fd2493525bdafc181bcefc8..8bded686186fd2fbe1b8b4ce931fd63b0a22856b 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -1190,30 +1190,6 @@ void UseCounter::count(ExecutionContext* context, Feature feature) {
toWorkerOrWorkletGlobalScope(context)->countFeature(feature);
}
-void UseCounter::countIfNotPrivateScript(v8::Isolate* isolate,
- const Frame* frame,
- Feature feature) {
- if (DOMWrapperWorld::current(isolate).isPrivateScriptIsolatedWorld())
- return;
- UseCounter::count(frame, feature);
-}
-
-void UseCounter::countIfNotPrivateScript(v8::Isolate* isolate,
- const Document& document,
- Feature feature) {
- if (DOMWrapperWorld::current(isolate).isPrivateScriptIsolatedWorld())
- return;
- UseCounter::count(document, feature);
-}
-
-void UseCounter::countIfNotPrivateScript(v8::Isolate* isolate,
- ExecutionContext* context,
- Feature feature) {
- if (DOMWrapperWorld::current(isolate).isPrivateScriptIsolatedWorld())
- return;
- UseCounter::count(context, feature);
-}
-
void UseCounter::countCrossOriginIframe(const Document& document,
Feature feature) {
LocalFrame* frame = document.frame();
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698