| Index: ash/accelerators/magnifier_key_scroller.cc
|
| diff --git a/ash/accelerators/magnifier_key_scroller.cc b/ash/accelerators/magnifier_key_scroller.cc
|
| index f5198dc702a2d82997a341d0a60783d51f2b2c87..b9cd646d8d454a7eac643005ecf749dd43001991 100644
|
| --- a/ash/accelerators/magnifier_key_scroller.cc
|
| +++ b/ash/accelerators/magnifier_key_scroller.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "ash/accelerators/magnifier_key_scroller.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "ash/accelerators/key_hold_detector.h"
|
| #include "ash/ash_switches.h"
|
| #include "ash/magnifier/magnification_controller.h"
|
| @@ -36,7 +38,7 @@ void MagnifierKeyScroller::SetEnabled(bool enabled) {
|
| // static
|
| scoped_ptr<ui::EventHandler> MagnifierKeyScroller::CreateHandler() {
|
| scoped_ptr<KeyHoldDetector::Delegate> delegate(new MagnifierKeyScroller());
|
| - return scoped_ptr<ui::EventHandler>(new KeyHoldDetector(delegate.Pass()));
|
| + return scoped_ptr<ui::EventHandler>(new KeyHoldDetector(std::move(delegate)));
|
| }
|
|
|
| bool MagnifierKeyScroller::ShouldProcessEvent(const ui::KeyEvent* event) const {
|
|
|