Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 70c881825f8883a6db53263dc9f27def90943d4f..303a3c1ab230c2733a85d62578c22827576a39b1 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -508,6 +508,9 @@ bool RenderFrameHostImpl::OnMessageReceived(const IPC::Message &msg) { |
OnDidAccessInitialDocument) |
IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeOpener, OnDidChangeOpener) |
IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeName, OnDidChangeName) |
+ IPC_MESSAGE_HANDLER( |
+ FrameHostMsg_DidChangeShouldEnforceStrictMixedContentChecking, |
+ OnDidChangeShouldEnforceStrictMixedContentChecking) |
IPC_MESSAGE_HANDLER(FrameHostMsg_DidAssignPageId, OnDidAssignPageId) |
IPC_MESSAGE_HANDLER(FrameHostMsg_DidChangeSandboxFlags, |
OnDidChangeSandboxFlags) |
@@ -1371,6 +1374,11 @@ void RenderFrameHostImpl::OnDidChangeName(const std::string& name) { |
delegate_->DidChangeName(this, name); |
} |
+void RenderFrameHostImpl::OnDidChangeShouldEnforceStrictMixedContentChecking( |
+ bool should_enforce) { |
+ frame_tree_node()->SetShouldEnforceStrictMixedContentChecking(should_enforce); |
+} |
+ |
void RenderFrameHostImpl::OnDidAssignPageId(int32 page_id) { |
// Update the RVH's current page ID so that future IPCs from the renderer |
// correspond to the new page. |