| Index: ios/chrome/browser/tabs/tab.mm
|
| diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
|
| index fcd60e4a7dbf6f264ae0e72201b09bd0f90fc40c..067bb730a5e0c3830dc8e40671f122e615ff6660 100644
|
| --- a/ios/chrome/browser/tabs/tab.mm
|
| +++ b/ios/chrome/browser/tabs/tab.mm
|
| @@ -123,7 +123,7 @@
|
| #include "ios/web/public/url_util.h"
|
| #include "ios/web/public/web_client.h"
|
| #import "ios/web/public/web_state/js/crw_js_injection_receiver.h"
|
| -#include "ios/web/public/web_state/navigation_context.h"
|
| +#import "ios/web/public/web_state/navigation_context.h"
|
| #import "ios/web/public/web_state/ui/crw_generic_content_view.h"
|
| #include "ios/web/public/web_state/web_state.h"
|
| #import "ios/web/public/web_state/web_state_observer_bridge.h"
|
| @@ -1164,7 +1164,7 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
|
| faviconDriver->FetchFavicon(navigation->GetUrl());
|
| }
|
|
|
| - if (!navigation->IsErrorPage()) {
|
| + if (!navigation->GetError()) {
|
| [self addCurrentEntryToHistoryDB];
|
| [self countMainFrameLoad];
|
| }
|
|
|