blob: 158594a2246f1c326a0905af13a8361449133fa5 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/xr/xr_plane_set.h"
namespace blink {
XRPlaneSet::XRPlaneSet(HeapHashSet<Member<XRPlane>> planes) : planes_(planes) {}
const HeapHashSet<Member<XRPlane>>& XRPlaneSet::elements() const {
return planes_;
}
void XRPlaneSet::Trace(Visitor* visitor) const {
visitor->Trace(planes_);
ScriptWrappable::Trace(visitor);
}
} // namespace blink