Index: third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp |
diff --git a/third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp b/third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp |
index 6987356e7c603b5b6e4eeb43ba0becf64bef8fa5..4824d2b4ffabafcc23ec0faa80f934181592af44 100644 |
--- a/third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp |
+++ b/third_party/WebKit/Source/modules/vr/NavigatorVRDevice.cpp |
@@ -83,7 +83,7 @@ DEFINE_TRACE(NavigatorVRDevice) |
NavigatorVRDevice::NavigatorVRDevice(LocalFrame* frame) |
: DOMWindowProperty(frame) |
{ |
- m_hardwareUnits = new VRHardwareUnitCollection(controller()); |
+ m_hardwareUnits = new VRHardwareUnitCollection(this); |
} |
NavigatorVRDevice::~NavigatorVRDevice() |