Commit 6fa1a51b authored by Zentaro Kavanagh's avatar Zentaro Kavanagh Committed by Commit Bot

Make use of unique_ptr more modern

- No change to behavior

BUG=None
TEST=compiles

Change-Id: I55d53415dbce1b004fdda015695d3a10b7eb118c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1607121Reviewed-by: default avatarSean Kau <skau@chromium.org>
Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#658847}
parent a0abf76f
......@@ -12,8 +12,8 @@
namespace chromeos {
CupsPrintJobManager::CupsPrintJobManager(Profile* profile) : profile_(profile) {
notification_manager_.reset(
new CupsPrintJobNotificationManager(profile, this));
notification_manager_ =
std::make_unique<CupsPrintJobNotificationManager>(profile, this);
}
CupsPrintJobManager::~CupsPrintJobManager() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment