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

Unified Diff: third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js

Issue 2736593002: Update API to latest spec : Remove VRFrameData#timestamp (Closed)
Patch Set: modify mock-vr-service.js Created 3 years, 9 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/LayoutTests/vr/resources/mock-vr-service.js
diff --git a/third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js b/third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js
index d7760b3d8225a7af9b8120eb21e0ef195b97395c..53806a08cc9c733285ea14094fd57ceddf4a2625 100644
--- a/third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js
+++ b/third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js
@@ -67,7 +67,6 @@ let mockVRService = loadMojoModules(
}
getVSync() {
if (this.pose_) {
- this.pose_.timestamp = this.timeDelta_;
this.pose_.poseIndex++;
}
@@ -85,7 +84,6 @@ let mockVRService = loadMojoModules(
}
initPose() {
this.pose_ = {
- timestamp: 0,
orientation: null,
position: null,
angularVelocity: null,

Powered by Google App Engine
This is Rietveld 408576698