Commit 54943b04 authored by Will Cassella's avatar Will Cassella Committed by Commit Bot

Make XRPlaneDetectionState constructor explicit, remove default argument

Change-Id: I6e1109cf6ab7b8e3a40910fec3f2e9a54cb4d578
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1994267
Commit-Queue: Will Cassella <cassew@google.com>
Reviewed-by: default avatarPiotr Bialecki <bialpio@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732308}
parent b3b890db
...@@ -17,8 +17,8 @@ class XRPlaneDetectionState : public ScriptWrappable { ...@@ -17,8 +17,8 @@ class XRPlaneDetectionState : public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO(); DEFINE_WRAPPERTYPEINFO();
public: public:
XRPlaneDetectionState( explicit XRPlaneDetectionState(
XRPlaneDetectionStateInit* plane_detection_state_init = nullptr); XRPlaneDetectionStateInit* plane_detection_state_init);
bool enabled() const { return enabled_; } bool enabled() const { return enabled_; }
......
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