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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell_unittest.mm

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/omnibox/omnibox_popup_cell_unittest.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell_unittest.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell_unittest.mm
index 000990d9dda5a08f6492d1d681ac741418be3714..7b28327501c3bcf9760989d84d37d3b906700528 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell_unittest.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell_unittest.mm
@@ -73,7 +73,7 @@ TEST_F(OmniboxPopupCellTest, AnswerStyle) {
"\"t\": \"°F\",\"tt\": 3} ]}} ]}";
NSString* finalString = @"46°F Thu";
- scoped_ptr<base::Value> root(base::JSONReader::Read(weatherJson));
+ std::unique_ptr<base::Value> root(base::JSONReader::Read(weatherJson));
ASSERT_NE(root, nullptr);
base::DictionaryValue* dictionary;
root->GetAsDictionary(&dictionary);

Powered by Google App Engine
This is Rietveld 408576698