Title: [280307] trunk/Source/WebCore
Revision
280307
Author
[email protected]
Date
2021-07-26 12:22:45 -0700 (Mon, 26 Jul 2021)

Log Message

[WebXR] WebXRSession::m_visibilityState is uninitialized
https://bugs.webkit.org/show_bug.cgi?id=228286

Patch by Ada Chan <[email protected]> on 2021-07-26
Reviewed by Tim Horton.

WebXRSession::m_visibilityState should be initialized to XRVisibilityState::Visible.

* Modules/webxr/WebXRSession.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (280306 => 280307)


--- trunk/Source/WebCore/ChangeLog	2021-07-26 19:18:07 UTC (rev 280306)
+++ trunk/Source/WebCore/ChangeLog	2021-07-26 19:22:45 UTC (rev 280307)
@@ -1,3 +1,14 @@
+2021-07-26  Ada Chan  <[email protected]>
+
+        [WebXR] WebXRSession::m_visibilityState is uninitialized
+        https://bugs.webkit.org/show_bug.cgi?id=228286
+
+        Reviewed by Tim Horton.
+
+        WebXRSession::m_visibilityState should be initialized to XRVisibilityState::Visible.
+
+        * Modules/webxr/WebXRSession.h:
+
 2021-07-26  Aditya Keerthi  <[email protected]>
 
         [iOS] Page background color does not update after UIUserInterfaceLevel change

Modified: trunk/Source/WebCore/Modules/webxr/WebXRSession.h (280306 => 280307)


--- trunk/Source/WebCore/Modules/webxr/WebXRSession.h	2021-07-26 19:18:07 UTC (rev 280306)
+++ trunk/Source/WebCore/Modules/webxr/WebXRSession.h	2021-07-26 19:22:45 UTC (rev 280307)
@@ -128,7 +128,7 @@
 
     XREnvironmentBlendMode m_environmentBlendMode;
     XRInteractionMode m_interactionMode;
-    XRVisibilityState m_visibilityState;
+    XRVisibilityState m_visibilityState { XRVisibilityState::Visible };
     UniqueRef<WebXRInputSourceArray> m_inputSources;
     bool m_ended { false };
     std::optional<EndPromise> m_endPromise;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to