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 225e8c96608de5a98e6ca3ee4ba086ab8f805d09..adce04d5785d06c7888241733d8c41f6173c1815 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*>(HeapSupplement<Document>::from(document, supplementName())); |
+ DeviceLightController* controller = static_cast<DeviceLightController*>(Supplement<Document>::from(document, supplementName())); |
if (!controller) { |
controller = new DeviceLightController(document); |
- HeapSupplement<Document>::provideTo(document, supplementName(), controller); |
+ Supplement<Document>::provideTo(document, supplementName(), controller); |
} |
return *controller; |
} |
@@ -74,7 +74,7 @@ const AtomicString& DeviceLightController::eventTypeName() const |
DEFINE_TRACE(DeviceLightController) |
{ |
DeviceSingleWindowEventController::trace(visitor); |
- HeapSupplement<Document>::trace(visitor); |
+ Supplement<Document>::trace(visitor); |
} |