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

Unified Diff: cc/layers/layer_iterator_unittest.cc

Issue 250803013: Don't clear render surfaces unnecessarily. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/layer_iterator_unittest.cc
diff --git a/cc/layers/layer_iterator_unittest.cc b/cc/layers/layer_iterator_unittest.cc
index 61d7a6151df245006f6488ea14ba5a64ac68335c..89e504aecd23d74f4031a909cd665cd4be86f4d8 100644
--- a/cc/layers/layer_iterator_unittest.cc
+++ b/cc/layers/layer_iterator_unittest.cc
@@ -68,7 +68,7 @@ void ResetCounts(RenderSurfaceLayerList* render_surface_layer_list) {
layer_index < render_surface->layer_list().size();
++layer_index) {
TestLayer* layer = static_cast<TestLayer*>(
- render_surface->layer_list().at(layer_index));
+ render_surface->layer_list().at(layer_index).get());
layer->count_representing_target_surface_ = -1;
layer->count_representing_contributing_surface_ = -1;
« no previous file with comments | « cc/layers/layer_iterator.h ('k') | cc/layers/layer_lists.h » ('j') | cc/layers/layer_lists.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698