Index: ui/app_list/cocoa/apps_search_box_controller.mm |
diff --git a/ui/app_list/cocoa/apps_search_box_controller.mm b/ui/app_list/cocoa/apps_search_box_controller.mm |
index 534a0645243d6722e9147e37f6682104a13e5709..0456c161f0fa0d72867fb72f99ecfb39837440f4 100644 |
--- a/ui/app_list/cocoa/apps_search_box_controller.mm |
+++ b/ui/app_list/cocoa/apps_search_box_controller.mm |
@@ -139,7 +139,8 @@ void SearchBoxModelObserverBridge::TextChanged() { |
- (id)initWithFrame:(NSRect)frame { |
if ((self = [super init])) { |
- scoped_nsobject<NSView> containerView([[NSView alloc] initWithFrame:frame]); |
+ base::scoped_nsobject<NSView> containerView( |
+ [[NSView alloc] initWithFrame:frame]); |
[self setView:containerView]; |
[self addSubviews]; |
} |
@@ -370,7 +371,7 @@ void SearchBoxModelObserverBridge::TextChanged() { |
if (model->GetCommandIdAt(index) != app_list::AppListMenu::CURRENT_USER) |
return; |
- scoped_nsobject<NSView> customItemView([[CurrentUserMenuItemView alloc] |
+ base::scoped_nsobject<NSView> customItemView([[CurrentUserMenuItemView alloc] |
initWithDelegate:[[searchBoxController_ delegate] appListDelegate]]); |
[[menu itemAtIndex:index] setView:customItemView]; |
} |