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

Unified Diff: cc/test/layer_tree_test.cc

Issue 606113003: Revert of Make cc output surface creation async (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/test/layer_tree_test.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 05e4fc55c606722bc039de888584e06c0fdbb71b..c9927be8bc71ad16ebdaa7c3c584606a4a1a4c38 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -290,8 +290,9 @@
top_controls_delta);
}
- virtual void RequestNewOutputSurface(bool fallback) OVERRIDE {
- test_hooks_->RequestNewOutputSurface(fallback);
+ virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback)
+ OVERRIDE {
+ return test_hooks_->CreateOutputSurface(fallback);
}
virtual void DidInitializeOutputSurface() OVERRIDE {
@@ -666,10 +667,6 @@
RunTest(true, false, true);
}
-void LayerTreeTest::RequestNewOutputSurface(bool fallback) {
- layer_tree_host_->SetOutputSurface(CreateOutputSurface(fallback));
-}
-
scoped_ptr<OutputSurface> LayerTreeTest::CreateOutputSurface(bool fallback) {
scoped_ptr<FakeOutputSurface> output_surface =
CreateFakeOutputSurface(fallback);
« no previous file with comments | « cc/test/layer_tree_test.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698