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

Unified Diff: cc/layers/layer_iterator_unittest.cc

Issue 180243014: Revert "Revert 253606 "Revert 251238 "cc: Clean up iterator template to ..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/layer_iterator.cc ('k') | cc/layers/render_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_iterator_unittest.cc
diff --git a/cc/layers/layer_iterator_unittest.cc b/cc/layers/layer_iterator_unittest.cc
index 61d7a6151df245006f6488ea14ba5a64ac68335c..c781d28b13fe23e21e6f3451813cbb7922f74374 100644
--- a/cc/layers/layer_iterator_unittest.cc
+++ b/cc/layers/layer_iterator_unittest.cc
@@ -50,7 +50,10 @@ class TestLayer : public Layer {
EXPECT_EQ(contrib, layer->count_representing_contributing_surface_); \
EXPECT_EQ(itself, layer->count_representing_itself_);
-typedef LayerIterator<Layer> FrontToBack;
+typedef LayerIterator<Layer,
+ RenderSurfaceLayerList,
+ RenderSurface,
+ LayerIteratorActions::FrontToBack> FrontToBack;
void ResetCounts(RenderSurfaceLayerList* render_surface_layer_list) {
for (unsigned surface_index = 0;
« no previous file with comments | « cc/layers/layer_iterator.cc ('k') | cc/layers/render_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698