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

Side by Side Diff: cc/layer_tiling_data.cc

Issue 11410021: Remove WTF and WebCore from cc/ and webkit/compositor_bindings/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_browsertests Created 8 years, 1 month 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/layer_sorter_unittest.cc ('k') | cc/layer_tree_host.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 5
6 #include "config.h"
7
8 #include "cc/layer_tiling_data.h" 6 #include "cc/layer_tiling_data.h"
9 7
10 #include "base/logging.h" 8 #include "base/logging.h"
11 9
12 using namespace std; 10 using namespace std;
13 11
14 namespace cc { 12 namespace cc {
15 13
16 scoped_ptr<LayerTilingData> LayerTilingData::create(const gfx::Size& tileSize, B orderTexelOption border) 14 scoped_ptr<LayerTilingData> LayerTilingData::create(const gfx::Size& tileSize, B orderTexelOption border)
17 { 15 {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 for (size_t i = 0; i < invalidTileKeys.size(); ++i) 140 for (size_t i = 0; i < invalidTileKeys.size(); ++i)
143 m_tiles.erase(invalidTileKeys[i]); 141 m_tiles.erase(invalidTileKeys[i]);
144 } 142 }
145 143
146 gfx::Size LayerTilingData::bounds() const 144 gfx::Size LayerTilingData::bounds() const
147 { 145 {
148 return m_tilingData.total_size(); 146 return m_tilingData.total_size();
149 } 147 }
150 148
151 } // namespace cc 149 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_sorter_unittest.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698