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

Unified Diff: ui/app_list/test/test_search_result.cc

Issue 855023003: Add presubmit check for scoped_ptr usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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/search/history_data_store.cc ('k') | ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/test/test_search_result.cc
diff --git a/ui/app_list/test/test_search_result.cc b/ui/app_list/test/test_search_result.cc
index 32e394c9d1e138d2a67bfd21079f4251fda6b4da..558a630b02519c1e5eabb3e0acb7cd61a7ce3009 100644
--- a/ui/app_list/test/test_search_result.cc
+++ b/ui/app_list/test/test_search_result.cc
@@ -18,7 +18,7 @@ void TestSearchResult::SetDisplayType(SearchResult::DisplayType type) {
scoped_ptr<SearchResult> TestSearchResult::Duplicate() {
NOTREACHED();
- return scoped_ptr<SearchResult>();
+ return nullptr;
}
} // namespace app_list
« no previous file with comments | « ui/app_list/search/history_data_store.cc ('k') | ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698