Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc |
index 005e15c5562a16a10325176cc1261b69562a109d..d62dc28ee43cd941a44a44d7de78825d3b4cf8e1 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc |
@@ -350,12 +350,12 @@ TEST_F(BookmarkBarViewTest, ManagedShowAppsShortcutInBookmarksBar) { |
// Hide the apps shortcut by policy, via the managed pref. |
prefs->SetManagedPref(bookmarks::prefs::kShowAppsShortcutInBookmarkBar, |
- new base::Value(false)); |
+ base::MakeUnique<base::Value>(false)); |
EXPECT_FALSE(test_helper_->apps_page_shortcut()->visible()); |
// And try showing it via policy too. |
prefs->SetManagedPref(bookmarks::prefs::kShowAppsShortcutInBookmarkBar, |
- new base::Value(true)); |
+ base::MakeUnique<base::Value>(true)); |
EXPECT_TRUE(test_helper_->apps_page_shortcut()->visible()); |
} |
#endif |