Index: Source/modules/vr/NavigatorVRDevice.cpp |
diff --git a/Source/modules/vr/NavigatorVRDevice.cpp b/Source/modules/vr/NavigatorVRDevice.cpp |
index fccba63787845c215d15858c07d157d70097e645..d69b509d497fce8b9531a78ae3eabc94ad5fe4c3 100644 |
--- a/Source/modules/vr/NavigatorVRDevice.cpp |
+++ b/Source/modules/vr/NavigatorVRDevice.cpp |
@@ -33,10 +33,10 @@ NavigatorVRDevice* NavigatorVRDevice::from(Document& document) |
NavigatorVRDevice& NavigatorVRDevice::from(Navigator& navigator) |
{ |
- NavigatorVRDevice* supplement = static_cast<NavigatorVRDevice*>(WillBeHeapSupplement<Navigator>::from(navigator, supplementName())); |
+ NavigatorVRDevice* supplement = static_cast<NavigatorVRDevice*>(HeapSupplement<Navigator>::from(navigator, supplementName())); |
if (!supplement) { |
supplement = new NavigatorVRDevice(navigator.frame()); |
- provideTo(navigator, supplementName(), adoptPtrWillBeNoop(supplement)); |
+ provideTo(navigator, supplementName(), supplement); |
} |
return *supplement; |
} |
@@ -76,7 +76,7 @@ DEFINE_TRACE(NavigatorVRDevice) |
{ |
visitor->trace(m_hardwareUnits); |
- WillBeHeapSupplement<Navigator>::trace(visitor); |
+ HeapSupplement<Navigator>::trace(visitor); |
DOMWindowProperty::trace(visitor); |
} |