| 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/test/tiled_layer_test_common.h" | 5 #include "cc/test/tiled_layer_test_common.h" |
| 8 | 6 |
| 9 using namespace cc; | 7 using namespace cc; |
| 10 | 8 |
| 11 namespace WebKitTests { | 9 namespace WebKitTests { |
| 12 | 10 |
| 13 FakeLayerUpdater::Resource::Resource(FakeLayerUpdater* layer, scoped_ptr<Priorit
izedResource> texture) | 11 FakeLayerUpdater::Resource::Resource(FakeLayerUpdater* layer, scoped_ptr<Priorit
izedResource> texture) |
| 14 : LayerUpdater::Resource(texture.Pass()) | 12 : LayerUpdater::Resource(texture.Pass()) |
| 15 , m_layer(layer) | 13 , m_layer(layer) |
| 16 { | 14 { |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 { | 146 { |
| 149 return static_cast<float>(m_forcedContentBounds.height()) / bounds().height(
); | 147 return static_cast<float>(m_forcedContentBounds.height()) / bounds().height(
); |
| 150 } | 148 } |
| 151 | 149 |
| 152 void FakeTiledLayerWithScaledBounds::setContentsScale(float) | 150 void FakeTiledLayerWithScaledBounds::setContentsScale(float) |
| 153 { | 151 { |
| 154 NOTREACHED(); | 152 NOTREACHED(); |
| 155 } | 153 } |
| 156 | 154 |
| 157 } // namespace | 155 } // namespace |
| OLD | NEW |