| // Copyright 2015 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 "services/gfx/compositor/graph/resources.h" |
| #include "base/logging.h" |
| SceneResource::SceneResource( |
| const mojo::gfx::composition::SceneToken& scene_token) |
| : scene_token_(scene_token) {} |
| SceneResource::~SceneResource() {} |
| Resource::Type SceneResource::type() const { |
| ImageResource::ImageResource(const scoped_refptr<RenderImage>& image) |
| ImageResource::~ImageResource() {} |
| Resource::Type ImageResource::type() const { |
| } // namespace compositor |