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

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
« no previous file with comments | « cc/layers/nine_patch_layer_unittest.cc ('k') | cc/layers/scrollbar_layer_impl.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 83a6fd46931da5649145989611f9c81c8670c447..b3ce6bd89c63d826c30157ff79adf889b58ee2c0 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++;
}
« no previous file with comments | « cc/layers/nine_patch_layer_unittest.cc ('k') | cc/layers/scrollbar_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698