| Index: Source/modules/device_orientation/DeviceOrientationController.cpp
|
| diff --git a/Source/modules/device_orientation/DeviceOrientationController.cpp b/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| index 933b49c328d976fcdb259ae662968157a82f3430..64e1989ad142c05efd5cded3256e54b03211ab74 100644
|
| --- a/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| +++ b/Source/modules/device_orientation/DeviceOrientationController.cpp
|
| @@ -43,10 +43,10 @@ const char* DeviceOrientationController::supplementName()
|
|
|
| DeviceOrientationController& DeviceOrientationController::from(Document& document)
|
| {
|
| - DeviceOrientationController* controller = static_cast<DeviceOrientationController*>(DocumentSupplement::from(document, supplementName()));
|
| + DeviceOrientationController* controller = static_cast<DeviceOrientationController*>(WillBeHeapSupplement<Document>::from(document, supplementName()));
|
| if (!controller) {
|
| controller = new DeviceOrientationController(document);
|
| - DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| + WillBeHeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| }
|
| return *controller;
|
| }
|
| @@ -129,7 +129,7 @@ DEFINE_TRACE(DeviceOrientationController)
|
| {
|
| visitor->trace(m_overrideOrientationData);
|
| DeviceSingleWindowEventController::trace(visitor);
|
| - DocumentSupplement::trace(visitor);
|
| + WillBeHeapSupplement<Document>::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|