Chromium Code Reviews| Index: content/renderer/render_frame_impl.cc |
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
| index a7492bb2d872e90fc04cf365e47c633da40d5260..7270d8f96938d64c3f6e49cc93ba610324cc136a 100644 |
| --- a/content/renderer/render_frame_impl.cc |
| +++ b/content/renderer/render_frame_impl.cc |
| @@ -2833,6 +2833,10 @@ void RenderFrameImpl::didCommitProvisionalLoad( |
| internal_data->set_must_reset_scroll_and_scale_state(false); |
| } |
| + // The browser wants to be notified of the page scale factor upon navigation. |
| + if (is_main_frame_) |
|
Charlie Reis
2015/10/30 22:29:08
In patch 6, you had this operation inside a detail
|
| + render_view_->pageScaleFactorChanged(); |
| + |
| bool is_new_navigation = commit_type == blink::WebStandardCommit; |
| if (is_new_navigation) { |
| // We bump our Page ID to correspond with the new session history entry. |