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

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

Issue 2788233002: Fix tab deselect notifications. (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/tabs/tab_model_selected_tab_observer.mm
diff --git a/ios/chrome/browser/tabs/tab_model_selected_tab_observer.mm b/ios/chrome/browser/tabs/tab_model_selected_tab_observer.mm
index fb9846a13ae208ed03bd5eff0a4104d569ffc4c0..5f19d6183c3039641cb996c39cea4291bc3c4fb5 100644
--- a/ios/chrome/browser/tabs/tab_model_selected_tab_observer.mm
+++ b/ios/chrome/browser/tabs/tab_model_selected_tab_observer.mm
@@ -45,7 +45,8 @@
@autoreleasepool {
[[NSNotificationCenter defaultCenter]
postNotificationName:kTabModelTabDeselectedNotification
- object:@{kTabModelTabKey : oldTab}];
+ object:_tabModel
+ userInfo:@{kTabModelTabKey : oldTab}];
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698