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

Unified Diff: ios/chrome/browser/ui/browser_view_controller.mm

Issue 2820063003: Fix NTP parentViewController. (Closed)
Patch Set: Fix tests Created 3 years, 8 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/ui/ntp/new_tab_page_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/browser_view_controller.mm
diff --git a/ios/chrome/browser/ui/browser_view_controller.mm b/ios/chrome/browser/ui/browser_view_controller.mm
index 5bb9155b88ed8eb67d13bb0cb63bef7bc982e765..e95cc1bd6e7710e0b2f91ca00ce811ad9242eee6 100644
--- a/ios/chrome/browser/ui/browser_view_controller.mm
+++ b/ios/chrome/browser/ui/browser_view_controller.mm
@@ -3034,9 +3034,9 @@ class BrowserBookmarkModelBridge : public bookmarks::BookmarkModelObserver {
browserState:_browserState
colorCache:_dominantColorCache
webToolbarDelegate:self
- tabModel:_model];
+ tabModel:_model
+ parentViewController:self];
pageController.swipeRecognizerProvider = self.sideSwipeController;
- pageController.parentViewController = self;
// Panel is always NTP for iPhone.
NewTabPage::PanelIdentifier panelType = NewTabPage::kMostVisitedPanel;
« no previous file with comments | « no previous file | ios/chrome/browser/ui/ntp/new_tab_page_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698