summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test')
-rw-r--r--cc/test/layer_tree_test.cc4
-rw-r--r--cc/test/layer_tree_test.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 6a7cf50..da0ed55 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -640,6 +640,10 @@ void LayerTreeTest::RunTest(bool threaded,
AfterTest();
}
+void LayerTreeTest::RunTestWithImplSidePainting() {
+ RunTest(true, false, true);
+}
+
scoped_ptr<OutputSurface> LayerTreeTest::CreateOutputSurface(bool fallback) {
scoped_ptr<FakeOutputSurface> output_surface;
if (delegating_renderer_)
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index d7607fb..f027c06 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -146,6 +146,7 @@ class LayerTreeTest : public testing::Test, public TestHooks {
virtual void RunTest(bool threaded,
bool delegating_renderer,
bool impl_side_painting);
+ virtual void RunTestWithImplSidePainting();
bool HasImplThread() { return proxy() ? proxy()->HasImplThread() : false; }
base::SingleThreadTaskRunner* ImplThreadTaskRunner() {