| Index: ui/events/test/event_generator.cc
|
| diff --git a/ui/events/test/event_generator.cc b/ui/events/test/event_generator.cc
|
| index ddfdeea55d667ca669f4c4aadfb8e40da39e44b8..8960e5b71d504b55c29f849770f2dadae9eddfd1 100644
|
| --- a/ui/events/test/event_generator.cc
|
| +++ b/ui/events/test/event_generator.cc
|
| @@ -543,7 +543,7 @@ void EventGenerator::Dispatch(ui::Event* event) {
|
|
|
| void EventGenerator::Init(gfx::NativeWindow root_window,
|
| gfx::NativeWindow window_context) {
|
| - ui::SetEventTickClockForTesting(WrapUnique(new TestTickClock()));
|
| + ui::SetEventTickClockForTesting(base::MakeUnique<TestTickClock>());
|
| delegate()->SetContext(this, root_window, window_context);
|
| if (window_context)
|
| current_location_ = delegate()->CenterOfWindow(window_context);
|
|
|