Index: third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
index a2479acca66daffd073cb2dcba9be8e51e203414..c5ad8892504c03dff2446eee9934ed8148f4a467 100644 |
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
@@ -79,6 +79,12 @@ void VRDisplay::update(const device::blink::VRDisplayPtr& display) |
} |
} |
+void VRDisplay::disconnected() |
+{ |
+ if (m_isConnected) |
+ m_isConnected = !m_isConnected; |
+} |
+ |
VRPose* VRDisplay::getPose() |
{ |
if (m_canUpdateFramePose) { |