| Index: Source/modules/device_orientation/DeviceMotionController.cpp
|
| diff --git a/Source/modules/device_orientation/DeviceMotionController.cpp b/Source/modules/device_orientation/DeviceMotionController.cpp
|
| index 78409747ccb1beac7e73be0fea2f9c83446e0138..02498d07240ac6daa7bd41d6b0409517ad44a915 100644
|
| --- a/Source/modules/device_orientation/DeviceMotionController.cpp
|
| +++ b/Source/modules/device_orientation/DeviceMotionController.cpp
|
| @@ -63,7 +63,7 @@ DeviceMotionController& DeviceMotionController::from(Document& document)
|
| DeviceMotionController* controller = static_cast<DeviceMotionController*>(DocumentSupplement::from(document, supplementName()));
|
| if (!controller) {
|
| controller = new DeviceMotionController(document);
|
| - DocumentSupplement::provideTo(document, supplementName(), adoptPtr(controller));
|
| + DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| }
|
| return *controller;
|
| }
|
|
|