| // Copyright 2017 The Fuchsia 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 "garnet/lib/ui/gfx/resources/shapes/shape.h" |
| |
| namespace scenic_impl { |
| namespace gfx { |
| |
| const ResourceTypeInfo Shape::kTypeInfo = {ResourceType::kShape, "Shape"}; |
| |
| Shape::Shape(Session* session, ResourceId id, const ResourceTypeInfo& type_info) |
| : Resource(session, id, type_info) { |
| FXL_DCHECK(type_info.IsKindOf(Shape::kTypeInfo)); |
| } |
| |
| } // namespace gfx |
| } // namespace scenic_impl |