| Index: content/public/test/navigation_simulator.h
|
| diff --git a/content/public/test/navigation_simulator.h b/content/public/test/navigation_simulator.h
|
| index 13a90a0490cedd05bc526ed87551e511e7919310..783546c1d25377afb2290aacf5ab13d95dce6b46 100644
|
| --- a/content/public/test/navigation_simulator.h
|
| +++ b/content/public/test/navigation_simulator.h
|
| @@ -87,7 +87,7 @@ class NavigationSimulator : public WebContentsObserver {
|
| // unique_ptr<NavigationSimulator> simulator =
|
| // NavigationSimulator::CreateRendererInitiated(
|
| // original_url, render_frame_host);
|
| - // simulator->CommitSamePage();
|
| + // simulator->CommitSameDocument();
|
| //
|
| // Example of usage for a renderer-initiated navigation which is cancelled by
|
| // a throttle upon redirecting. Note that registering the throttle is done
|
| @@ -116,9 +116,9 @@ class NavigationSimulator : public WebContentsObserver {
|
| // Simulates the commit of an error page following a navigation failure.
|
| virtual void CommitErrorPage();
|
|
|
| - // Simulates the commit of a same-page navigation, ie fragment navigations or
|
| - // pushState/popState navigations.
|
| - virtual void CommitSamePage();
|
| + // Simulates the commit of a same-document navigation, ie fragment navigations
|
| + // or pushState/popState navigations.
|
| + virtual void CommitSameDocument();
|
|
|
| // --------------------------------------------------------------------------
|
|
|
|
|