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

Unified Diff: trunk/src/cc/test/layer_tree_test.cc

Issue 17204002: Revert 206020 "cc: Emulate BeginFrame in OutputSurfaces that don..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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/test/layer_tree_test.h ('k') | trunk/src/cc/test/scheduler_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/test/layer_tree_test.cc
===================================================================
--- trunk/src/cc/test/layer_tree_test.cc (revision 206654)
+++ trunk/src/cc/test/layer_tree_test.cc (working copy)
@@ -589,13 +589,9 @@
}
scoped_ptr<OutputSurface> LayerTreeTest::CreateOutputSurface() {
- scoped_ptr<FakeOutputSurface> output_surface;
if (delegating_renderer_)
- output_surface = FakeOutputSurface::CreateDelegating3d();
- else
- output_surface = FakeOutputSurface::Create3d();
- output_surface_ = output_surface.get();
- return output_surface.PassAs<OutputSurface>();
+ return FakeOutputSurface::CreateDelegating3d().PassAs<OutputSurface>();
+ return FakeOutputSurface::Create3d().PassAs<OutputSurface>();
}
scoped_refptr<cc::ContextProvider> LayerTreeTest::
« no previous file with comments | « trunk/src/cc/test/layer_tree_test.h ('k') | trunk/src/cc/test/scheduler_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698