- 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
This commit is contained in:
Marshall Greenblatt 2008-12-05 16:38:27 +00:00
parent 9c58b671a8
commit 166b8524dd
2 changed files with 2 additions and 5 deletions

View File

@ -8,3 +8,4 @@ development team.
Date | CEF Revision | Chromium Revision Date | CEF Revision | Chromium Revision
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
2008-12-02 | /trunk@2 | /trunk@6213 2008-12-02 | /trunk@2 | /trunk@6213
2008-12-05 | /trunk@3 | /trunk@6430

View File

@ -624,15 +624,11 @@ void BrowserWebViewDelegate::UpdateSessionHistory(WebFrame* frame) {
if (!entry) if (!entry)
return; return;
GURL url;
std::wstring title;
std::string state; std::string state;
if (!browser_->UIT_GetWebView()->GetMainFrame()-> if (!browser_->UIT_GetWebView()->GetMainFrame()->
GetPreviousState(&url, &title, &state)) GetPreviousHistoryState(&state))
return; return;
entry->SetURL(url);
entry->SetTitle(title);
entry->SetContentState(state); entry->SetContentState(state);
} }