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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 1621503003: Remove 'WebPlugin::CheckIfRunInsecureContent'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index c8ea114f4089f8b0d4d649f386af1f8c356ddea9..cc03905c73cafe5decc8f1e2831f6f69c4a8cb25 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -872,17 +872,6 @@ void WebLocalFrameImpl::collectGarbage()
V8GCController::collectGarbage(v8::Isolate::GetCurrent());
}
-bool WebLocalFrameImpl::checkIfRunInsecureContent(const WebURL& url) const
-{
- ASSERT(frame());
-
- // This is only called (eventually, through proxies and delegates and IPC) from
- // PluginURLFetcher::OnReceivedRedirect for redirects of NPAPI resources.
- //
- // FIXME: Remove this method entirely once we smother NPAPI.
- return !MixedContentChecker::shouldBlockFetch(frame(), WebURLRequest::RequestContextObject, WebURLRequest::FrameTypeNested, url);
-}
-
v8::Local<v8::Value> WebLocalFrameImpl::executeScriptAndReturnValue(const WebScriptSource& source)
{
ASSERT(frame());
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698