| Index: third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp b/third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp
|
| index 200af36a7757feb50f362f1f7b78286f172bb9e8..1fed15f564fce08ad50c0de5365f827573f8d272 100644
|
| --- a/third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_light/DeviceLightController.cpp
|
| @@ -31,10 +31,10 @@ const char* DeviceLightController::supplementName()
|
|
|
| DeviceLightController& DeviceLightController::from(Document& document)
|
| {
|
| - DeviceLightController* controller = static_cast<DeviceLightController*>(WillBeHeapSupplement<Document>::from(document, supplementName()));
|
| + DeviceLightController* controller = static_cast<DeviceLightController*>(HeapSupplement<Document>::from(document, supplementName()));
|
| if (!controller) {
|
| controller = new DeviceLightController(document);
|
| - WillBeHeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| + HeapSupplement<Document>::provideTo(document, supplementName(), adoptPtrWillBeNoop(controller));
|
| }
|
| return *controller;
|
| }
|
| @@ -54,7 +54,7 @@ void DeviceLightController::unregisterWithDispatcher()
|
| DeviceLightDispatcher::instance().removeController(this);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Event> DeviceLightController::lastEvent() const
|
| +RawPtr<Event> DeviceLightController::lastEvent() const
|
| {
|
| return DeviceLightEvent::create(EventTypeNames::devicelight,
|
| DeviceLightDispatcher::instance().latestDeviceLightData());
|
| @@ -74,7 +74,7 @@ const AtomicString& DeviceLightController::eventTypeName() const
|
| DEFINE_TRACE(DeviceLightController)
|
| {
|
| DeviceSingleWindowEventController::trace(visitor);
|
| - WillBeHeapSupplement<Document>::trace(visitor);
|
| + HeapSupplement<Document>::trace(visitor);
|
| }
|
|
|
|
|
|
|