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

Side by Side Diff: cc/region.cc

Issue 11417111: cc: Add PictureLayerTilingSet to manage PictureLayerTiling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win_rel 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/region.h ('k') | cc/scoped_ptr_vector.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/region.h" 5 #include "cc/region.h"
6 6
7 namespace cc { 7 namespace cc {
8 8
9 Region::Region() { 9 Region::Region() {
10 } 10 }
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 std::string result; 97 std::string result;
98 for (Iterator it(*this); it.has_rect(); it.next()) { 98 for (Iterator it(*this); it.has_rect(); it.next()) {
99 if (!result.empty()) 99 if (!result.empty())
100 result += " | "; 100 result += " | ";
101 result += it.rect().ToString(); 101 result += it.rect().ToString();
102 } 102 }
103 return result; 103 return result;
104 } 104 }
105 105
106 Region::Iterator::Iterator() {
107 }
108
106 Region::Iterator::Iterator(const Region& region) 109 Region::Iterator::Iterator(const Region& region)
107 : it_(region.skregion_) { 110 : it_(region.skregion_) {
108 } 111 }
109 112
110 Region::Iterator::~Iterator() { 113 Region::Iterator::~Iterator() {
111 } 114 }
112 115
113 } // namespace cc 116 } // namespace cc
OLDNEW
« no previous file with comments | « cc/region.h ('k') | cc/scoped_ptr_vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698