| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | |
| 6 | |
| 7 #include "cc/layer_updater.h" | 5 #include "cc/layer_updater.h" |
| 8 | 6 |
| 9 namespace cc { | 7 namespace cc { |
| 10 | 8 |
| 11 LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture) | 9 LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture) |
| 12 : m_texture(texture.Pass()) | 10 : m_texture(texture.Pass()) |
| 13 { | 11 { |
| 14 } | 12 } |
| 15 | 13 |
| 16 LayerUpdater::Resource::~Resource() | 14 LayerUpdater::Resource::~Resource() |
| 17 { | 15 { |
| 18 } | 16 } |
| 19 | 17 |
| 20 } // namespace cc | 18 } // namespace cc |
| OLD | NEW |