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

Unified Diff: mash/wm/accelerator_registrar_unittest.cc

Issue 1857623003: convert //mash to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « mash/task_viewer/task_viewer.cc ('k') | mash/wm/frame/caption_buttons/frame_caption_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/accelerator_registrar_unittest.cc
diff --git a/mash/wm/accelerator_registrar_unittest.cc b/mash/wm/accelerator_registrar_unittest.cc
index fa755bc1d42df770c37ef6563a9a2dd0ffbf7ccf..6c48d8012576a018b0cdf13a0dacd803e33f9f35 100644
--- a/mash/wm/accelerator_registrar_unittest.cc
+++ b/mash/wm/accelerator_registrar_unittest.cc
@@ -4,6 +4,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/bind.h"
#include "base/macros.h"
#include "base/run_loop.h"
@@ -57,7 +59,7 @@ class TestAcceleratorHandler : public AcceleratorHandler {
void OnAccelerator(uint32_t id, mus::mojom::EventPtr event) override {}
std::set<uint32_t> installed_accelerators_;
- scoped_ptr<base::RunLoop> run_loop_;
+ std::unique_ptr<base::RunLoop> run_loop_;
mojo::Binding<AcceleratorHandler> binding_;
AcceleratorRegistrarPtr registrar_;
bool add_accelerator_result_;
« no previous file with comments | « mash/task_viewer/task_viewer.cc ('k') | mash/wm/frame/caption_buttons/frame_caption_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698