| Index: Source/modules/device_orientation/DeviceMotionController.cpp
|
| diff --git a/Source/modules/device_orientation/DeviceMotionController.cpp b/Source/modules/device_orientation/DeviceMotionController.cpp
|
| index 7701d9cba75030210f5f3ac467045e16471ed5fb..d08247d32eb3e3b84e5882686623e27991e5215e 100644
|
| --- a/Source/modules/device_orientation/DeviceMotionController.cpp
|
| +++ b/Source/modules/device_orientation/DeviceMotionController.cpp
|
| @@ -36,10 +36,10 @@ const char* DeviceMotionController::supplementName()
|
|
|
| DeviceMotionController& DeviceMotionController::from(Document& document)
|
| {
|
| - DeviceMotionController* controller = static_cast<DeviceMotionController*>(DocumentSupplement::from(document, supplementName()));
|
| + DeviceMotionController* controller = static_cast<DeviceMotionController*>(WillBeHeapSupplement<Document>::from(document, supplementName()));
|
| if (!controller) {
|
| controller = new DeviceMotionController(document);
|
| - DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| + WillBeHeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| }
|
| return *controller;
|
| }
|
| @@ -100,7 +100,7 @@ const AtomicString& DeviceMotionController::eventTypeName() const
|
| DEFINE_TRACE(DeviceMotionController)
|
| {
|
| DeviceSingleWindowEventController::trace(visitor);
|
| - DocumentSupplement::trace(visitor);
|
| + WillBeHeapSupplement<Document>::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|