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

Unified Diff: cc/test/layer_tree_test.h

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_host_common_test.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index 0fc35ca862aac202fe7e05d0c0fb5f986d88984e..0f7aec35b9299ff181f82916e449a23c5ec22563 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -93,7 +93,7 @@
base::TimeTicks monotonic_time,
Animation::TargetProperty target_property) OVERRIDE {}
- virtual void RequestNewOutputSurface(bool fallback) = 0;
+ virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) = 0;
};
class BeginTask;
@@ -182,10 +182,8 @@
void DestroyLayerTreeHost();
- // By default, output surface recreation is synchronous.
- virtual void RequestNewOutputSurface(bool fallback) OVERRIDE;
// Override this for pixel tests, where you need a real output surface.
- virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback);
+ virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) OVERRIDE;
// Override this for unit tests, which should not produce pixel output.
virtual scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface(bool fallback);
« no previous file with comments | « cc/test/layer_tree_host_common_test.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698