summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/xr/xr_anchor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/xr/xr_anchor.cc')
-rw-r--r--chromium/third_party/blink/renderer/modules/xr/xr_anchor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/xr/xr_anchor.cc b/chromium/third_party/blink/renderer/modules/xr/xr_anchor.cc
index 08590754f2c..6408746a803 100644
--- a/chromium/third_party/blink/renderer/modules/xr/xr_anchor.cc
+++ b/chromium/third_party/blink/renderer/modules/xr/xr_anchor.cc
@@ -71,7 +71,7 @@ base::Optional<TransformationMatrix> XRAnchor::MojoFromObject() const {
return base::nullopt;
}
- return mojo_from_anchor_->ToTransform().matrix();
+ return TransformationMatrix(mojo_from_anchor_->ToTransform().matrix());
}
void XRAnchor::Delete() {