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

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

Issue 2716493004: Renamed NavigationHandle::IsSamePage to NavigationHandle::IsSameDocument (Closed)
Patch Set: Rebased 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/navigation_controller_impl_browsertest.cc
diff --git a/content/browser/frame_host/navigation_controller_impl_browsertest.cc b/content/browser/frame_host/navigation_controller_impl_browsertest.cc
index 89ee3b1697135eb64c1cb1608784979bcd92f632..014e75eee1888ed8ca6b5e6dbdff03e4133c85cb 100644
--- a/content/browser/frame_host/navigation_controller_impl_browsertest.cc
+++ b/content/browser/frame_host/navigation_controller_impl_browsertest.cc
@@ -644,7 +644,7 @@ class FrameNavigateParamsCapturer : public WebContentsObserver {
navigation_types_.push_back(
static_cast<NavigationHandleImpl*>(navigation_handle)
->navigation_type());
- is_in_pages_.push_back(navigation_handle->IsSamePage());
+ is_in_pages_.push_back(navigation_handle->IsSameDocument());
if (!navigations_remaining_ &&
(!web_contents()->IsLoading() || !wait_for_load_))
message_loop_runner_->Quit();
@@ -6666,7 +6666,7 @@ class NavigationHandleCommitObserver : public WebContentsObserver {
if (handle->GetURL() != url_)
return;
has_committed_ = true;
- was_same_page_ = handle->IsSamePage();
+ was_same_page_ = handle->IsSameDocument();
was_renderer_initiated_ = handle->IsRendererInitiated();
}

Powered by Google App Engine
This is Rietveld 408576698