| Index: content/public/test/render_view_test.cc
|
| diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
|
| index 43b1e166a3e3057d2d9a14f9725410715be5a4e7..bd9884f8a2b2f35e5abeb0dc21e0adcd8d4b413e 100644
|
| --- a/content/public/test/render_view_test.cc
|
| +++ b/content/public/test/render_view_test.cc
|
| @@ -124,6 +124,11 @@ void RenderViewTest::LoadHTML(const char* html) {
|
| FrameLoadWaiter(view_->GetMainRenderFrame()).Wait();
|
| }
|
|
|
| +PageState RenderViewTest::GetCurrentPageState() {
|
| + RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
|
| + return HistoryEntryToPageState(impl->history_controller()->GetCurrentEntry());
|
| +}
|
| +
|
| void RenderViewTest::GoBack(const PageState& state) {
|
| GoToOffset(-1, state);
|
| }
|
| @@ -132,12 +137,6 @@ void RenderViewTest::GoForward(const PageState& state) {
|
| GoToOffset(1, state);
|
| }
|
|
|
| -void RenderViewTest::GoBackToPrevious() {
|
| - RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
|
| - GoBack(HistoryEntryToPageState(
|
| - impl->history_controller()->GetPreviousEntry()));
|
| -}
|
| -
|
| void RenderViewTest::SetUp() {
|
| content_client_.reset(CreateContentClient());
|
| content_browser_client_.reset(CreateContentBrowserClient());
|
|
|