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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 13206004: cc: Fix build issues for adding ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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..918f0d6113c89cac47a669905c07a54efcfbd0e4 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -233,7 +233,7 @@ class PictureLayerImplTest : public testing::Test {
// Add 1x1 rects at the centers of each tile, then re-record pile contents
std::vector<Tile*> tiles =
active_layer_->tilings().tiling_at(0)->AllTilesForTesting();
- EXPECT_EQ(16, tiles.size());
+ EXPECT_EQ(16u, tiles.size());
std::vector<SkRect> rects;
std::vector<Tile*>::const_iterator tile_iter;
for (tile_iter = tiles.begin(); tile_iter < tiles.end(); tile_iter++) {
@@ -261,7 +261,7 @@ class PictureLayerImplTest : public testing::Test {
// SkPicture is perfectly aligned with the compositor's tiles.
// Note: There are two rects: the initial clear and the explicitly
// recorded rect. We only care about the second one.
- EXPECT_EQ(2, mock_canvas.rects_.size());
+ EXPECT_EQ(2u, mock_canvas.rects_.size());
EXPECT_EQ(*rect_iter, mock_canvas.rects_[1]);
rect_iter++;
}

Powered by Google App Engine
This is Rietveld 408576698