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

Unified Diff: ui/app_list/search/mixer_unittest.cc

Issue 922923002: ui: Cleanup the usage of scoped_ptr throughout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 10 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 | « no previous file | ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search/mixer_unittest.cc
diff --git a/ui/app_list/search/mixer_unittest.cc b/ui/app_list/search/mixer_unittest.cc
index 78c233eec1ef9f367dff3062959064e9fd94dcee..7c56159dd1afa8d46a8aa454f8ef4832077c17fb 100644
--- a/ui/app_list/search/mixer_unittest.cc
+++ b/ui/app_list/search/mixer_unittest.cc
@@ -35,7 +35,7 @@ class TestSearchResult : public SearchResult {
void Open(int event_flags) override {}
void InvokeAction(int action_index, int event_flags) override {}
scoped_ptr<SearchResult> Duplicate() const override {
- return scoped_ptr<SearchResult>(new TestSearchResult(id(), relevance()));
+ return make_scoped_ptr(new TestSearchResult(id(), relevance()));
}
// For reference equality testing. (Addresses cannot be used to test reference
« no previous file with comments | « no previous file | ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698