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

Unified Diff: ui/app_list/cocoa/app_list_window_controller_unittest.mm

Issue 17769005: Rewrite scoped_ptr<T>(NULL) to use the default ctor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « ui/app_list/cocoa/app_list_view_controller_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/cocoa/app_list_window_controller_unittest.mm
diff --git a/ui/app_list/cocoa/app_list_window_controller_unittest.mm b/ui/app_list/cocoa/app_list_window_controller_unittest.mm
index 8ea354464ee72a455ce6b075d3cfb47adac1826c..68b273d71a28410a9e3a23f8499fb66d23a254e0 100644
--- a/ui/app_list/cocoa/app_list_window_controller_unittest.mm
+++ b/ui/app_list/cocoa/app_list_window_controller_unittest.mm
@@ -42,7 +42,7 @@ void AppListWindowControllerTest::TearDown() {
EXPECT_TRUE(controller_.get());
[[controller_ window] close];
[[controller_ appListViewController]
- setDelegate:scoped_ptr<app_list::AppListViewDelegate>(NULL)];
+ setDelegate:scoped_ptr<app_list::AppListViewDelegate>()];
controller_.reset();
ui::CocoaTest::TearDown();
}
« no previous file with comments | « ui/app_list/cocoa/app_list_view_controller_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698