From 166b8524ddc7867f8e763598e6ed6092be7d4d88 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 5 Dec 2008 16:38:27 +0000 Subject: [PATCH] libcef: - Modify BrowserWebViewDelegate::UpdateSessionHistory() to fix compile error due to underlying chromium changes. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@3 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- CHROMIUM_BUILD_COMPATIBILITY.txt | 1 + libcef/browser_webview_delegate.cc | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CHROMIUM_BUILD_COMPATIBILITY.txt b/CHROMIUM_BUILD_COMPATIBILITY.txt index ae4a54a02..6737d51a8 100644 --- a/CHROMIUM_BUILD_COMPATIBILITY.txt +++ b/CHROMIUM_BUILD_COMPATIBILITY.txt @@ -8,3 +8,4 @@ development team. Date | CEF Revision | Chromium Revision ------------------------------------------------------------------------------- 2008-12-02 | /trunk@2 | /trunk@6213 +2008-12-05 | /trunk@3 | /trunk@6430 diff --git a/libcef/browser_webview_delegate.cc b/libcef/browser_webview_delegate.cc index de6ed0b5f..546635526 100644 --- a/libcef/browser_webview_delegate.cc +++ b/libcef/browser_webview_delegate.cc @@ -624,15 +624,11 @@ void BrowserWebViewDelegate::UpdateSessionHistory(WebFrame* frame) { if (!entry) return; - GURL url; - std::wstring title; std::string state; if (!browser_->UIT_GetWebView()->GetMainFrame()-> - GetPreviousState(&url, &title, &state)) + GetPreviousHistoryState(&state)) return; - entry->SetURL(url); - entry->SetTitle(title); entry->SetContentState(state); }