Index: third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp |
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp |
index 0829d2ac035578b518a106b514660e1eb86cb1ba..4e3f1e308623c7772814474500d1111f6801316c 100644 |
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp |
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp |
@@ -36,10 +36,10 @@ const char* DeviceMotionController::supplementName() |
DeviceMotionController& DeviceMotionController::from(Document& document) |
{ |
- DeviceMotionController* controller = static_cast<DeviceMotionController*>(HeapSupplement<Document>::from(document, supplementName())); |
+ DeviceMotionController* controller = static_cast<DeviceMotionController*>(Supplement<Document>::from(document, supplementName())); |
if (!controller) { |
controller = new DeviceMotionController(document); |
- HeapSupplement<Document>::provideTo(document, supplementName(), controller); |
+ Supplement<Document>::provideTo(document, supplementName(), controller); |
} |
return *controller; |
} |
@@ -101,7 +101,7 @@ const AtomicString& DeviceMotionController::eventTypeName() const |
DEFINE_TRACE(DeviceMotionController) |
{ |
DeviceSingleWindowEventController::trace(visitor); |
- HeapSupplement<Document>::trace(visitor); |
+ Supplement<Document>::trace(visitor); |
} |
} // namespace blink |