| Index: Source/modules/device_light/DeviceLightController.cpp
|
| diff --git a/Source/modules/device_light/DeviceLightController.cpp b/Source/modules/device_light/DeviceLightController.cpp
|
| index 73dd5660a2658622c5d60b91e33b5347a13f9ef2..836319a65b8034aaff27c63837ab62884d9e1bfa 100644
|
| --- a/Source/modules/device_light/DeviceLightController.cpp
|
| +++ b/Source/modules/device_light/DeviceLightController.cpp
|
| @@ -32,10 +32,10 @@ const char* DeviceLightController::supplementName()
|
|
|
| DeviceLightController& DeviceLightController::from(Document& document)
|
| {
|
| - DeviceLightController* controller = static_cast<DeviceLightController*>(DocumentSupplement::from(document, supplementName()));
|
| + DeviceLightController* controller = static_cast<DeviceLightController*>(WillBeHeapSupplement<Document>::from(document, supplementName()));
|
| if (!controller) {
|
| controller = new DeviceLightController(document);
|
| - DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| + WillBeHeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| }
|
| return *controller;
|
| }
|
| @@ -75,7 +75,7 @@ const AtomicString& DeviceLightController::eventTypeName() const
|
| DEFINE_TRACE(DeviceLightController)
|
| {
|
| DeviceSingleWindowEventController::trace(visitor);
|
| - DocumentSupplement::trace(visitor);
|
| + WillBeHeapSupplement<Document>::trace(visitor);
|
| }
|
|
|
|
|
|
|