| 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" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "CCSolidColorLayerImpl.h" | 7 #include "cc/solid_color_layer_impl.h" |
| 8 | 8 |
| 9 #include "CCQuadSink.h" | 9 #include "CCQuadSink.h" |
| 10 #include "CCSolidColorDrawQuad.h" | 10 #include "cc/solid_color_draw_quad.h" |
| 11 #include <wtf/MathExtras.h> | 11 #include <wtf/MathExtras.h> |
| 12 | 12 |
| 13 using namespace std; | 13 using namespace std; |
| 14 using WebKit::WebTransformationMatrix; | 14 using WebKit::WebTransformationMatrix; |
| 15 | 15 |
| 16 namespace cc { | 16 namespace cc { |
| 17 | 17 |
| 18 CCSolidColorLayerImpl::CCSolidColorLayerImpl(int id) | 18 CCSolidColorLayerImpl::CCSolidColorLayerImpl(int id) |
| 19 : CCLayerImpl(id) | 19 : CCLayerImpl(id) |
| 20 , m_tileSize(256) | 20 , m_tileSize(256) |
| (...skipping 20 matching lines...) Expand all Loading... |
| 41 } | 41 } |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 | 44 |
| 45 const char* CCSolidColorLayerImpl::layerTypeAsString() const | 45 const char* CCSolidColorLayerImpl::layerTypeAsString() const |
| 46 { | 46 { |
| 47 return "SolidColorLayer"; | 47 return "SolidColorLayer"; |
| 48 } | 48 } |
| 49 | 49 |
| 50 } // namespace cc | 50 } // namespace cc |
| OLD | NEW |