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

Unified Diff: cc/layer_tree_host_unittest.cc

Issue 11596005: Revert 173406 - Crashes on Win & Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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/layer_tree_host_impl_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_unittest.cc
===================================================================
--- cc/layer_tree_host_unittest.cc (revision 173406)
+++ cc/layer_tree_host_unittest.cc (working copy)
@@ -1339,13 +1339,9 @@
EXPECT_EQ(gfx::Point(2, 2), child->position());
// Compute all the layer transforms for the frame.
- LayerTreeHostImpl::FrameData frameData;
- mockImpl->prepareToDraw(frameData);
- mockImpl->didDrawAllLayers(frameData);
+ MockLayerTreeHostImpl::LayerList renderSurfaceLayerList;
+ mockImpl->calculateRenderSurfaceLayerList(renderSurfaceLayerList);
- const MockLayerTreeHostImpl::LayerList& renderSurfaceLayerList =
- *frameData.renderSurfaceLayerList;
-
// Both layers should be drawing into the root render surface.
ASSERT_EQ(1u, renderSurfaceLayerList.size());
ASSERT_EQ(root->renderSurface(), renderSurfaceLayerList[0]->renderSurface());
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698