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

Unified Diff: webkit/glue/webframeloaderclient_impl.cc

Issue 200110: Fix some mixed content layout tests.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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: webkit/glue/webframeloaderclient_impl.cc
===================================================================
--- webkit/glue/webframeloaderclient_impl.cc (revision 26025)
+++ webkit/glue/webframeloaderclient_impl.cc (working copy)
@@ -987,9 +987,15 @@
}
void WebFrameLoaderClient::didDisplayInsecureContent() {
+ if (webframe_->client())
+ webframe_->client()->didDisplayInsecureContent(webframe_);
}
-void WebFrameLoaderClient::didRunInsecureContent(SecurityOrigin*) {
+void WebFrameLoaderClient::didRunInsecureContent(SecurityOrigin* origin) {
+ if (webframe_->client()) {
+ webframe_->client()->didRunInsecureContent(webframe_,
+ webkit_glue::StringToWebString(origin->toString()));
+ }
}
ResourceError WebFrameLoaderClient::blockedError(const WebCore::ResourceRequest&) {

Powered by Google App Engine
This is Rietveld 408576698