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

Unified Diff: chrome/browser/ui/app_list/search/omnibox_result.h

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/app_list/search/omnibox_result.h
diff --git a/chrome/browser/ui/app_list/search/omnibox_result.h b/chrome/browser/ui/app_list/search/omnibox_result.h
index 4459ddf5d1eb7740e12082f48f0928b1b1c1a0f2..849bec99c2ffc41311b8cc163574fd345b5637ed 100644
--- a/chrome/browser/ui/app_list/search/omnibox_result.h
+++ b/chrome/browser/ui/app_list/search/omnibox_result.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_OMNIBOX_RESULT_H_
#define CHROME_BROWSER_UI_APP_LIST_SEARCH_OMNIBOX_RESULT_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/omnibox/browser/autocomplete_match.h"
#include "ui/app_list/search_result.h"
@@ -28,7 +29,7 @@ class OmniboxResult : public SearchResult {
// SearchResult overrides:
void Open(int event_flags) override;
- scoped_ptr<SearchResult> Duplicate() const override;
+ std::unique_ptr<SearchResult> Duplicate() const override;
private:
void UpdateIcon();
« no previous file with comments | « chrome/browser/ui/app_list/search/omnibox_provider.cc ('k') | chrome/browser/ui/app_list/search/omnibox_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698