Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: ios/chrome/browser/tabs/tab.mm

Issue 2885803002: [ios] Remove TabModel cleanup from -dealloc to -browserStateDestroyed. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/tab_model.mm » ('j') | ios/chrome/browser/tabs/tab_model.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/tabs/tab.mm
diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
index ead02b4ef5f3c2ce1dd0fe1dd391c8502a017028..718c7d8685b9dd16717a07223f988387622d8206 100644
--- a/ios/chrome/browser/tabs/tab.mm
+++ b/ios/chrome/browser/tabs/tab.mm
@@ -1012,7 +1012,9 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
[_openInController detachFromWebController];
_openInController = nil;
[_autofillController detachFromWebState];
+ _autofillController = nil;
[_suggestionController detachFromWebState];
+ _suggestionController = nil;
if (_fullScreenController)
[self.webController removeObserver:_fullScreenController];
[_fullScreenController invalidate];
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/tab_model.mm » ('j') | ios/chrome/browser/tabs/tab_model.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698