diff options
Diffstat (limited to 'chrome/browser/ui/cocoa/base_bubble_controller.mm')
-rw-r--r-- | chrome/browser/ui/cocoa/base_bubble_controller.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/base_bubble_controller.mm b/chrome/browser/ui/cocoa/base_bubble_controller.mm index 8fad883..55265a2 100644 --- a/chrome/browser/ui/cocoa/base_bubble_controller.mm +++ b/chrome/browser/ui/cocoa/base_bubble_controller.mm @@ -5,6 +5,7 @@ #import "chrome/browser/ui/cocoa/base_bubble_controller.h" #include "base/logging.h" +#include "base/mac/bundle_locations.h" #include "base/mac/mac_util.h" #include "base/memory/scoped_nsobject.h" #include "base/string_util.h" @@ -54,8 +55,8 @@ class Bridge : public content::NotificationObserver { - (id)initWithWindowNibPath:(NSString*)nibPath parentWindow:(NSWindow*)parentWindow anchoredAt:(NSPoint)anchoredAt { - nibPath = [base::mac::MainAppBundle() pathForResource:nibPath - ofType:@"nib"]; + nibPath = [base::mac::FrameworkBundle() pathForResource:nibPath + ofType:@"nib"]; if ((self = [super initWithWindowNibPath:nibPath owner:self])) { parentWindow_ = parentWindow; anchor_ = anchoredAt; |