| Index: ios/chrome/browser/crash_report/crash_restore_helper.mm
|
| diff --git a/ios/chrome/browser/crash_report/crash_restore_helper.mm b/ios/chrome/browser/crash_report/crash_restore_helper.mm
|
| index 98d8754a104e50e1a91648e4183bbf704c69a776..89aac8b2677bede8d8a8c1b5eaae0872723a207e 100644
|
| --- a/ios/chrome/browser/crash_report/crash_restore_helper.mm
|
| +++ b/ios/chrome/browser/crash_report/crash_restore_helper.mm
|
| @@ -204,8 +204,7 @@ int SessionCrashedInfoBarDelegate::GetIconId() const {
|
| SessionServiceIOS* sessionService = [SessionServiceIOS sharedService];
|
| NSString* stashPath =
|
| base::SysUTF8ToNSString(browserState->GetStatePath().value());
|
| - NSString* sessionPath =
|
| - [sessionService sessionFilePathForDirectory:stashPath];
|
| + NSString* sessionPath = [sessionService sessionPathForDirectory:stashPath];
|
| NSFileManager* fileManager = [NSFileManager defaultManager];
|
| if (![fileManager fileExistsAtPath:sessionPath])
|
| return NO;
|
| @@ -262,7 +261,7 @@ int SessionCrashedInfoBarDelegate::GetIconId() const {
|
| _sessionRestored = YES;
|
| _infoBarBridge.reset();
|
| SessionWindowIOS* sessionWindow = [[SessionServiceIOS sharedService]
|
| - loadWindowFromPath:[self sessionBackupPath]];
|
| + loadSessionWindowFromPath:[self sessionBackupPath]];
|
| if (sessionWindow) {
|
| breakpad_helper::WillStartCrashRestoration();
|
| return [_tabModel restoreSessionWindow:sessionWindow];
|
| @@ -284,7 +283,7 @@ int SessionCrashedInfoBarDelegate::GetIconId() const {
|
| _sessionRestored = YES;
|
|
|
| SessionWindowIOS* window = [[SessionServiceIOS sharedService]
|
| - loadWindowFromPath:[self sessionBackupPath]];
|
| + loadSessionWindowFromPath:[self sessionBackupPath]];
|
| DCHECK(window);
|
| NSArray* sessions = window.sessions;
|
| if (!sessions.count)
|
|
|