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

Unified Diff: chrome/renderer/render_view.cc

Issue 46094: Fix our handling of mixed SSL / non-SSL content.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 11701)
+++ chrome/renderer/render_view.cc (working copy)
@@ -1256,14 +1256,18 @@
frame->GetProvisionalDataSource()->GetRequest().GetURL()));
}
-bool RenderView::DidLoadResourceFromMemoryCache(WebView* webview,
- const WebRequest& request,
- const WebResponse& response,
- WebFrame* frame) {
+bool RenderView::DidLoadResourceFromMemoryCache(
+ WebView* webview,
+ const WebRequest& request,
+ const WebResponse& response,
+ WebFrame* frame,
+ const std::string& frame_origin,
+ const std::string& main_frame_origin) {
// Let the browser know we loaded a resource from the memory cache. This
// message is needed to display the correct SSL indicators.
Send(new ViewHostMsg_DidLoadResourceFromMemoryCache(routing_id_,
- request.GetURL(), response.GetSecurityInfo()));
+ request.GetURL(), frame_origin, main_frame_origin,
+ response.GetSecurityInfo()));
return false;
}

Powered by Google App Engine
This is Rietveld 408576698