Chromium Code Reviews| 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 b2533a84e915e1e3650933c5f2ec1a26d4289824..6b9d7804da48dc30567dc9fca2d23b926cc6b26f 100644 |
| --- a/content/browser/frame_host/navigator_impl.cc |
| +++ b/content/browser/frame_host/navigator_impl.cc |
| @@ -552,7 +552,7 @@ void NavigatorImpl::DidNavigate( |
| has_embedded_credentials); |
| bool is_navigation_within_page = controller_->IsURLInPageNavigation( |
| - params.url, params.origin, params.was_within_same_page, |
| + params.url, params.origin, params.was_within_same_document, |
| render_frame_host); |
| // If a frame claims it navigated within page, it must be the current frame, |
| @@ -580,7 +580,7 @@ void NavigatorImpl::DidNavigate( |
| // in-page navigations to be super fast, and taking a screenshot |
|
Charlie Reis
2017/03/15 02:43:10
s/in-page/same-document/
Eugene But (OOO till 7-30)
2017/03/15 16:16:17
Done.
|
| // currently blocks GPU for a longer time than we are willing to |
| // tolerate in this use case. |
| - if (!params.was_within_same_page) |
| + if (!params.was_within_same_document) |
| controller_->TakeScreenshot(); |
| } |