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

Unified Diff: chrome/browser/ui/cocoa/page_info_bubble_controller_unittest.mm

Issue 10413061: Make PageInfoBubble not use BrowserList::GetLastActive and instead obtain a navigator at creation t… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/ui/cocoa/page_info_bubble_controller_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/page_info_bubble_controller_unittest.mm (revision 138377)
+++ chrome/browser/ui/cocoa/page_info_bubble_controller_unittest.mm (working copy)
@@ -51,9 +51,11 @@
void CreateBubble() {
// The controller cleans up after itself when the window closes.
controller_ =
- [[PageInfoBubbleController alloc] initWithPageInfoModel:model_
- modelObserver:NULL
- parentWindow:test_window()];
+ [[PageInfoBubbleController alloc]
+ initWithPageInfoModel:model_
+ modelObserver:NULL
+ parentWindow:test_window()
+ navigator:NULL];
window_ = [controller_ window];
[controller_ showWindow:nil];
}

Powered by Google App Engine
This is Rietveld 408576698