| 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 "cc/solid_color_layer_impl.h" | 5 #include "cc/solid_color_layer_impl.h" |
| 6 | 6 |
| 7 #include "cc/quad_sink.h" | 7 #include "cc/quad_sink.h" |
| 8 #include "cc/solid_color_draw_quad.h" | 8 #include "cc/solid_color_draw_quad.h" |
| 9 | 9 |
| 10 using WebKit::WebTransformationMatrix; | 10 using gfx::Transform; |
| 11 | 11 |
| 12 namespace cc { | 12 namespace cc { |
| 13 | 13 |
| 14 SolidColorLayerImpl::SolidColorLayerImpl(int id) | 14 SolidColorLayerImpl::SolidColorLayerImpl(int id) |
| 15 : LayerImpl(id) | 15 : LayerImpl(id) |
| 16 , m_tileSize(256) | 16 , m_tileSize(256) |
| 17 { | 17 { |
| 18 } | 18 } |
| 19 | 19 |
| 20 SolidColorLayerImpl::~SolidColorLayerImpl() | 20 SolidColorLayerImpl::~SolidColorLayerImpl() |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 } | 39 } |
| 40 } | 40 } |
| 41 } | 41 } |
| 42 | 42 |
| 43 const char* SolidColorLayerImpl::layerTypeAsString() const | 43 const char* SolidColorLayerImpl::layerTypeAsString() const |
| 44 { | 44 { |
| 45 return "SolidColorLayer"; | 45 return "SolidColorLayer"; |
| 46 } | 46 } |
| 47 | 47 |
| 48 } // namespace cc | 48 } // namespace cc |
| OLD | NEW |