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 2265053004: Adding WebVR temporary presentation handling on mobile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 1217bd251a4afd6e8c308414a03432aec9d9afae..5865b26000b81eb9c4c223b9f0edf74df00335cc 100644
--- a/third_party/WebKit/Source/modules/vr/VRPose.cpp
+++ b/third_party/WebKit/Source/modules/vr/VRPose.cpp
@@ -19,7 +19,7 @@ DOMFloat32Array* mojoArrayToFloat32Array(const mojo::WTFArray<float>& vec)
} // namespace
VRPose::VRPose()
- : m_timeStamp(0.0)
+ : m_timestamp(0.0)
{
}
@@ -28,7 +28,7 @@ void VRPose::setPose(const device::blink::VRPosePtr& state)
if (state.is_null())
return;
- m_timeStamp = state->timestamp;
+ 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