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
This commit is contained in:
parent
9c58b671a8
commit
166b8524dd
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue