Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: third_party/WebKit/Source/modules/vr/VRPose.cpp

Issue 2331553002: Update WebVR interface to match the 1.1 spec (Closed)
Patch Set: Addressed further feedback Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/vr/VRPose.cpp
diff --git a/third_party/WebKit/Source/modules/vr/VRPose.cpp b/third_party/WebKit/Source/modules/vr/VRPose.cpp
index 5865b26000b81eb9c4c223b9f0edf74df00335cc..14d9025273d4002a126f6bfcbdefe2af0df1590c 100644
--- a/third_party/WebKit/Source/modules/vr/VRPose.cpp
+++ b/third_party/WebKit/Source/modules/vr/VRPose.cpp
@@ -19,7 +19,6 @@ DOMFloat32Array* mojoArrayToFloat32Array(const mojo::WTFArray<float>& vec)
} // namespace
VRPose::VRPose()
- : m_timestamp(0.0)
{
}
@@ -28,7 +27,6 @@ void VRPose::setPose(const device::blink::VRPosePtr& state)
if (state.is_null())
return;
- m_timestamp = state->timestamp;
m_orientation = mojoArrayToFloat32Array(state->orientation);
m_position = mojoArrayToFloat32Array(state->position);
m_angularVelocity = mojoArrayToFloat32Array(state->angularVelocity);

Powered by Google App Engine
This is Rietveld 408576698