summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_webview_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.cc')
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index 3adcf08..17d3786 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -763,15 +763,9 @@ void TestWebViewDelegate::UpdateSessionHistory(WebFrame* frame) {
if (!entry)
return;
- GURL url;
- std::wstring title;
std::string state;
- if (!shell_->webView()->GetMainFrame()->
- GetPreviousState(&url, &title, &state))
+ if (!shell_->webView()->GetMainFrame()->GetPreviousHistoryState(&state))
return;
-
- entry->SetURL(url);
- entry->SetTitle(title);
entry->SetContentState(state);
}