Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(869)

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 2741313002: Renamed WasWithinSamePage to WasWithinSameDocument. (Closed)
Patch Set: Even moar fixes Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698