OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "cc/layers/layer_serializer.h" |
| 6 |
| 7 #include "cc/layers/layer.h" |
| 8 #include "cc/proto/layer.pb.h" |
| 9 |
| 10 namespace cc { |
| 11 |
| 12 // static |
| 13 void LayerSerializer::SerializeLayerHierarchy( |
| 14 const scoped_refptr<Layer> root_layer, |
| 15 proto::LayerNode* root_node) { |
| 16 root_layer->ToLayerNodeProto(root_node); |
| 17 } |
| 18 |
| 19 } // namespace cc |
OLD | NEW |