Commit 729d87c3 authored by Anna Offenwanger's avatar Anna Offenwanger Committed by Commit Bot

Fix minor webxr-test.js bug

Bug: 863557
Change-Id: I84e913d238dedf278b070afd9f3c79674373fc44
Reviewed-on: https://chromium-review.googlesource.com/1150290Reviewed-by: default avatarBill Orr <billorr@chromium.org>
Commit-Queue: Anna Offenwanger <offenwanger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577972}
parent 1f469b05
......@@ -102,7 +102,7 @@ class MockDevice {
// Test methods.
setXRPresentationFrameData(poseMatrix, views) {
if (poseMatrix == null) {
this.presentation_provider_.pose_ = null;
this.pose_ = null;
} else {
this.setPoseFromMatrix(poseMatrix);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment