| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 8461985dfb49405aed927a3b091f90b91a69c64c..5845a53e2f40b2522be0eaa13a1ccb7e27e1c070 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -182,6 +182,7 @@
|
| #include "platform/network/ResourceRequest.h"
|
| #include "platform/scroll/ScrollTypes.h"
|
| #include "platform/scroll/ScrollbarTheme.h"
|
| +#include "platform/vr/vr_dispatcher.h"
|
| #include "platform/weborigin/KURL.h"
|
| #include "platform/weborigin/SchemeRegistry.h"
|
| #include "platform/weborigin/SecurityPolicy.h"
|
| @@ -1555,7 +1556,7 @@ void WebLocalFrameImpl::setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame> frame)
|
| if (RuntimeEnabledFeatures::webUSBEnabled())
|
| USBController::provideTo(*m_frame, m_client ? m_client->usbClient() : nullptr);
|
| if (RuntimeEnabledFeatures::webVREnabled())
|
| - VRController::provideTo(*m_frame, m_client ? m_client->webVRClient() : nullptr);
|
| + VRController::provideTo(*m_frame, VRDispatcher::create());
|
| if (RuntimeEnabledFeatures::wakeLockEnabled())
|
| ScreenWakeLock::provideTo(*m_frame, m_client ? m_client->wakeLockClient() : nullptr);
|
| if (RuntimeEnabledFeatures::audioOutputDevicesEnabled())
|
|
|