Index: third_party/WebKit/Source/core/frame/Deprecation.cpp |
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp |
index 1f0bd83ea7edbb31e61d35b480a2a83381131da6..acd4a1ec5ee6789e01a315f9a3e05770479d27ef 100644 |
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp |
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp |
@@ -169,15 +169,6 @@ void Deprecation::countDeprecation(const Document& document, |
Deprecation::countDeprecation(document.frame(), feature); |
} |
-void Deprecation::countDeprecationIfNotPrivateScript( |
- v8::Isolate* isolate, |
- ExecutionContext* context, |
- UseCounter::Feature feature) { |
- if (DOMWrapperWorld::current(isolate).isPrivateScriptIsolatedWorld()) |
- return; |
- Deprecation::countDeprecation(context, feature); |
-} |
- |
void Deprecation::countDeprecationCrossOriginIframe( |
const LocalFrame* frame, |
UseCounter::Feature feature) { |