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

Unified Diff: cc/test/layer_tree_test.h

Issue 738983002: Move output surface fallback from cc to embedders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index 2914cfcf8ee65dfd8896f57c480f8db709f15df1..ae3761b4b66c8096cc54dcc2fc8ce40570dfdbe3 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -107,7 +107,7 @@ class TestHooks : public AnimationDelegate {
Animation::TargetProperty target_property,
int group) override {}
- virtual void RequestNewOutputSurface(bool fallback) = 0;
+ virtual void RequestNewOutputSurface() = 0;
};
class BeginTask;
@@ -199,11 +199,11 @@ class LayerTreeTest : public testing::Test, public TestHooks {
void DestroyLayerTreeHost();
// By default, output surface recreation is synchronous.
- void RequestNewOutputSurface(bool fallback) override;
+ void RequestNewOutputSurface() 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();
// Override this for unit tests, which should not produce pixel output.
- virtual scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface(bool fallback);
+ virtual scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface();
TestWebGraphicsContext3D* TestContext();

Powered by Google App Engine
This is Rietveld 408576698