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

Unified Diff: cc/layers/ui_resource_layer_impl_unittest.cc

Issue 448303002: Use custom ListContainer to allocate DrawQuads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@perftest
Patch Set: change header files to try fix compile error Created 6 years, 3 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/tiled_layer_impl_unittest.cc ('k') | cc/layers/video_layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/ui_resource_layer_impl_unittest.cc
diff --git a/cc/layers/ui_resource_layer_impl_unittest.cc b/cc/layers/ui_resource_layer_impl_unittest.cc
index 4bac073a904326ae214e79b8e7076014649d247b..66db3218a52f3e95206a4aea88f794bcc82c5ecf 100644
--- a/cc/layers/ui_resource_layer_impl_unittest.cc
+++ b/cc/layers/ui_resource_layer_impl_unittest.cc
@@ -95,7 +95,7 @@ void OpaqueBoundsTest(scoped_ptr<UIResourceLayerImpl> layer,
// Verify quad rects
const QuadList& quads = render_pass->quad_list;
EXPECT_GE(quads.size(), (size_t)0);
- gfx::Rect opaque_rect = quads.at(0)->opaque_rect;
+ gfx::Rect opaque_rect = quads.front()->opaque_rect;
EXPECT_EQ(expected_opaque_bounds, opaque_rect);
}
« no previous file with comments | « cc/layers/tiled_layer_impl_unittest.cc ('k') | cc/layers/video_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698