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

Unified Diff: chrome/browser/chromeos/events/event_rewriter_controller.cc

Issue 1870793002: Convert //chrome/browser/chromeos 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/chromeos/events/event_rewriter_controller.cc
diff --git a/chrome/browser/chromeos/events/event_rewriter_controller.cc b/chrome/browser/chromeos/events/event_rewriter_controller.cc
index 62fe12a4197b050e4138f68ab931130a66b2559d..b29e774cb8c028635564c0f7036e28b749f623f7 100644
--- a/chrome/browser/chromeos/events/event_rewriter_controller.cc
+++ b/chrome/browser/chromeos/events/event_rewriter_controller.cc
@@ -34,7 +34,7 @@ EventRewriterController::~EventRewriterController() {
}
void EventRewriterController::AddEventRewriter(
- scoped_ptr<ui::EventRewriter> rewriter) {
+ std::unique_ptr<ui::EventRewriter> rewriter) {
DCHECK(!initialized_);
rewriters_.push_back(rewriter.release());
}
« no previous file with comments | « chrome/browser/chromeos/events/event_rewriter_controller.h ('k') | chrome/browser/chromeos/events/event_rewriter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698