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

Unified Diff: trunk/src/cc/layers/picture_layer_impl_unittest.cc

Issue 13316003: Revert 191364 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/cc/layers/nine_patch_layer_unittest.cc ('k') | trunk/src/cc/layers/scrollbar_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/layers/picture_layer_impl_unittest.cc
===================================================================
--- trunk/src/cc/layers/picture_layer_impl_unittest.cc (revision 191370)
+++ trunk/src/cc/layers/picture_layer_impl_unittest.cc (working copy)
@@ -233,7 +233,7 @@
// 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(16u, tiles.size());
+ EXPECT_EQ(16, 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 @@
// 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(2u, mock_canvas.rects_.size());
+ EXPECT_EQ(2, mock_canvas.rects_.size());
EXPECT_EQ(*rect_iter, mock_canvas.rects_[1]);
rect_iter++;
}
« no previous file with comments | « trunk/src/cc/layers/nine_patch_layer_unittest.cc ('k') | trunk/src/cc/layers/scrollbar_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698