Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: cc/solid_color_layer_impl.cc

Issue 11308153: Migrate most of cc/ from WebKit::WebTransformationMatrix to gfx::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/solid_color_layer_impl.h ('k') | cc/stream_video_draw_quad.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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;
11
12 namespace cc { 10 namespace cc {
13 11
14 SolidColorLayerImpl::SolidColorLayerImpl(int id) 12 SolidColorLayerImpl::SolidColorLayerImpl(int id)
15 : LayerImpl(id) 13 : LayerImpl(id)
16 , m_tileSize(256) 14 , m_tileSize(256)
17 { 15 {
18 } 16 }
19 17
20 SolidColorLayerImpl::~SolidColorLayerImpl() 18 SolidColorLayerImpl::~SolidColorLayerImpl()
21 { 19 {
(...skipping 17 matching lines...) Expand all
39 } 37 }
40 } 38 }
41 } 39 }
42 40
43 const char* SolidColorLayerImpl::layerTypeAsString() const 41 const char* SolidColorLayerImpl::layerTypeAsString() const
44 { 42 {
45 return "SolidColorLayer"; 43 return "SolidColorLayer";
46 } 44 }
47 45
48 } // namespace cc 46 } // namespace cc
OLDNEW
« no previous file with comments | « cc/solid_color_layer_impl.h ('k') | cc/stream_video_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698