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 b9fdefc5cf29e20ac2d1ee4508ce7959bb473841..6e2213dacb4b6f9b77c580d5035c817a6f3e6a22 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" |
@@ -1556,7 +1557,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()); |
Yuki
2016/03/22 07:15:03
I think you no longer need this line. The clients
RaviKasibhatla
2016/03/23 15:20:51
I am sorry but I didn't understood the concern her
Yuki
2016/03/25 09:49:05
Yes. As you're moving the implementation from con
|
if (RuntimeEnabledFeatures::wakeLockEnabled()) |
ScreenWakeLock::provideTo(*m_frame, m_client ? m_client->wakeLockClient() : nullptr); |
if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) |