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

Unified Diff: chrome/browser/ui/webui/inspect_ui.cc

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
« no previous file with comments | « chrome/browser/ui/webui/inspect_ui.h ('k') | chrome/browser/ui/webui/interstitials/interstitial_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/inspect_ui.cc
diff --git a/chrome/browser/ui/webui/inspect_ui.cc b/chrome/browser/ui/webui/inspect_ui.cc
index fd9a75eb20e4fd7700ef1812e3fe85a2cf61c270..25a1e7d5991a21cc7bc0f9c8df653472787cfb16 100644
--- a/chrome/browser/ui/webui/inspect_ui.cc
+++ b/chrome/browser/ui/webui/inspect_ui.cc
@@ -490,7 +490,7 @@ const base::Value* InspectUI::GetPrefValue(const char* name) {
}
void InspectUI::AddTargetUIHandler(
- scoped_ptr<DevToolsTargetsUIHandler> handler) {
+ std::unique_ptr<DevToolsTargetsUIHandler> handler) {
DevToolsTargetsUIHandler* handler_ptr = handler.release();
target_handlers_[handler_ptr->source_id()] = handler_ptr;
}
« no previous file with comments | « chrome/browser/ui/webui/inspect_ui.h ('k') | chrome/browser/ui/webui/interstitials/interstitial_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698