| Index: content/browser/frame_host/navigator_impl.cc
|
| diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
|
| index 07f3cc9d1eb6137155132c4f146032ea6b1efe7d..b2533a84e915e1e3650933c5f2ec1a26d4289824 100644
|
| --- a/content/browser/frame_host/navigator_impl.cc
|
| +++ b/content/browser/frame_host/navigator_impl.cc
|
| @@ -685,7 +685,8 @@ void NavigatorImpl::DidNavigate(
|
|
|
| // After setting the last committed origin, reset the feature policy in the
|
| // RenderFrameHost to a blank policy based on the parent frame.
|
| - render_frame_host->ResetFeaturePolicy();
|
| + if (did_navigate && !is_navigation_within_page)
|
| + render_frame_host->ResetFeaturePolicy();
|
|
|
| // Send notification about committed provisional loads. This notification is
|
| // different from the NAV_ENTRY_COMMITTED notification which doesn't include
|
|
|