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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 12583018: cc: Rename PictureLayerTiling(Set) Iterator to CoverageIterator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/resources/picture_layer_tiling.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl_unittest.cc
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
index 962d927599354b7a70ae7ae7e4ab462112416d31..83a6fd46931da5649145989611f9c81c8670c447 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -189,7 +189,7 @@ class PictureLayerImplTest : public testing::Test {
static void VerifyAllTilesExistAndHavePile(
const PictureLayerTiling* tiling,
PicturePileImpl* pile) {
- for (PictureLayerTiling::Iterator
+ for (PictureLayerTiling::CoverageIterator
iter(tiling, tiling->contents_scale(), tiling->ContentRect());
iter;
++iter) {
@@ -331,7 +331,7 @@ TEST_F(PictureLayerImplTest, ClonePartialInvalidation) {
gfx::Rect content_invalidation = gfx::ToEnclosingRect(gfx::ScaleRect(
layer_invalidation,
tiling->contents_scale()));
- for (PictureLayerTiling::Iterator
+ for (PictureLayerTiling::CoverageIterator
iter(tiling,
tiling->contents_scale(),
tiling->ContentRect());
@@ -393,7 +393,7 @@ TEST_F(PictureLayerImplTest, NoInvalidationBoundsChange) {
gfx::Rect active_content_bounds = gfx::ToEnclosingRect(gfx::ScaleRect(
gfx::Rect(active_layer_bounds),
tiling->contents_scale()));
- for (PictureLayerTiling::Iterator
+ for (PictureLayerTiling::CoverageIterator
iter(tiling,
tiling->contents_scale(),
tiling->ContentRect());
@@ -444,7 +444,7 @@ TEST_F(PictureLayerImplTest, AddTilesFromNewRecording) {
for (size_t i = 0; i < tilings.num_tilings(); ++i) {
const PictureLayerTiling* tiling = tilings.tiling_at(i);
- for (PictureLayerTiling::Iterator
+ for (PictureLayerTiling::CoverageIterator
iter(tiling,
tiling->contents_scale(),
tiling->ContentRect());
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/resources/picture_layer_tiling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698