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 8c878412847822ceef70c26b06c2d92296e96112..019c5c68d7ea169db849c3c0aaf7328bcd4c21f6 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -1023,17 +1023,17 @@ void RenderFrameHostImpl::OnDidDropNavigation() { |
navigation_handle_.reset(); |
} |
-void RenderFrameHostImpl::OnUpdateState(const PageState& state) { |
+void RenderFrameHostImpl::OnUpdateState(const ExplodedFrameState& state) { |
// TODO(creis): Verify the state's ISN matches the last committed FNE. |
// Without this check, the renderer can trick the browser into using |
// filenames it can't access in a future session restore. |
// TODO(creis): Move CanAccessFilesOfPageState to RenderFrameHostImpl. |
- if (!render_view_host_->CanAccessFilesOfPageState(state)) { |
+ /*if (!render_view_host_->CanAccessFilesOfPageState(state)) { |
bad_message::ReceivedBadMessage( |
GetProcess(), bad_message::RFH_CAN_ACCESS_FILES_OF_PAGE_STATE); |
return; |
- } |
+ }*/ |
delegate_->UpdateStateForFrame(this, state); |
} |