Don't call OnTitleChange() and OnLoadEnd() for failed provisional loading (issue #381).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@332 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2011-10-21 14:38:25 +00:00
parent 5022adb6ad
commit a8f47d2f33
1 changed files with 0 additions and 2 deletions

View File

@ -803,8 +803,6 @@ void BrowserWebViewDelegate::didReceiveServerRedirectForProvisionalLoad(
void BrowserWebViewDelegate::didFailProvisionalLoad( void BrowserWebViewDelegate::didFailProvisionalLoad(
WebFrame* frame, const WebURLError& error) { WebFrame* frame, const WebURLError& error) {
LocationChangeDone(frame);
// error codes are defined in net\base\net_error_list.h // error codes are defined in net\base\net_error_list.h
// Don't display an error page if this is simply a cancelled load. Aside // Don't display an error page if this is simply a cancelled load. Aside