Index: cc/trees/layer_tree_host_unittest.cc |
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
index 06c522ad2d49dd0917529f6381897b20621c9aee..eee6275e9cc9ba7f7713f59e21fb3182f5c11d9c 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -2090,7 +2090,6 @@ TEST(LayerTreeHostTest, LimitPartialUpdates) { |
settings.max_partial_texture_updates = 10; |
LayerTreeHostWithProxy host(&client, settings, proxy.Pass()); |
- host.OnCreateAndInitializeOutputSurfaceAttempted(true); |
EXPECT_EQ(0u, host.MaxPartialTextureUpdates()); |
} |
@@ -2108,7 +2107,6 @@ TEST(LayerTreeHostTest, LimitPartialUpdates) { |
settings.max_partial_texture_updates = 10; |
LayerTreeHostWithProxy host(&client, settings, proxy.Pass()); |
- host.OnCreateAndInitializeOutputSurfaceAttempted(true); |
EXPECT_EQ(5u, host.MaxPartialTextureUpdates()); |
} |
@@ -2126,7 +2124,6 @@ TEST(LayerTreeHostTest, LimitPartialUpdates) { |
settings.max_partial_texture_updates = 10; |
LayerTreeHostWithProxy host(&client, settings, proxy.Pass()); |
- host.OnCreateAndInitializeOutputSurfaceAttempted(true); |
EXPECT_EQ(10u, host.MaxPartialTextureUpdates()); |
} |
@@ -2688,8 +2685,7 @@ class MockIOSurfaceWebGraphicsContext3D : public TestWebGraphicsContext3D { |
class LayerTreeHostTestIOSurfaceDrawing : public LayerTreeHostTest { |
protected: |
- scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface( |
- bool fallback) override { |
+ scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface() override { |
scoped_ptr<MockIOSurfaceWebGraphicsContext3D> mock_context_owned( |
new MockIOSurfaceWebGraphicsContext3D); |
mock_context_ = mock_context_owned.get(); |
@@ -2883,8 +2879,7 @@ class LayerTreeHostTestDeferredInitialize : public LayerTreeHostTest { |
PostSetNeedsCommitToMainThread(); |
} |
- scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface( |
- bool fallback) override { |
+ scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface() override { |
scoped_ptr<TestWebGraphicsContext3D> context3d( |
TestWebGraphicsContext3D::Create()); |
@@ -4380,8 +4375,7 @@ class LayerTreeHostTestMaxTransferBufferUsageBytes : public LayerTreeHostTest { |
settings->use_one_copy = false; |
} |
- scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface( |
- bool fallback) override { |
+ scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface() override { |
scoped_refptr<TestContextProvider> context_provider = |
TestContextProvider::Create(); |
context_provider->SetMaxTransferBufferUsageBytes(512 * 512); |
@@ -4522,8 +4516,7 @@ class LayerTreeHostTestSetMemoryPolicyOnLostOutputSurface |
: first_output_surface_memory_limit_(4321234), |
second_output_surface_memory_limit_(1234321) {} |
- scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface( |
- bool fallback) override { |
+ scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface() override { |
if (!first_context_provider_.get()) { |
first_context_provider_ = TestContextProvider::Create(); |
} else { |
@@ -5108,7 +5101,7 @@ MULTI_THREAD_TEST_F(LayerTreeHostTestGpuRasterizationEnabled); |
class LayerTreeHostTestGpuRasterizationForced : public LayerTreeHostTest { |
protected: |
void InitializeSettings(LayerTreeSettings* settings) override { |
- settings->impl_side_painting = true; |
+ ASSERT_TRUE(settings->impl_side_painting); |
EXPECT_FALSE(settings->gpu_rasterization_forced); |
settings->gpu_rasterization_forced = true; |
@@ -5169,7 +5162,7 @@ class LayerTreeHostTestGpuRasterizationForced : public LayerTreeHostTest { |
FakeContentLayerClient layer_client_; |
}; |
-MULTI_THREAD_TEST_F(LayerTreeHostTestGpuRasterizationForced); |
+SINGLE_AND_MULTI_THREAD_IMPL_TEST_F(LayerTreeHostTestGpuRasterizationForced); |
class LayerTreeHostTestContinuousPainting : public LayerTreeHostTest { |
public: |
@@ -5714,8 +5707,7 @@ class LayerTreeHostTestCrispUpAfterPinchEndsWithOneCopy |
settings->use_one_copy = true; |
} |
- scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface( |
- bool fallback) override { |
+ scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface() override { |
scoped_ptr<TestWebGraphicsContext3D> context3d = |
TestWebGraphicsContext3D::Create(); |
context3d->set_support_image(true); |