Index: cc/test/fake_output_surface.cc |
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc |
index 3a9be69ef0db7f5c0cc0b98173506fa0037d5ddf..a7f4007b08e14744640329b6c646bfaeb6e8c41b 100644 |
--- a/cc/test/fake_output_surface.cc |
+++ b/cc/test/fake_output_surface.cc |
@@ -14,24 +14,12 @@ |
namespace cc { |
FakeOutputSurface::FakeOutputSurface( |
- scoped_refptr<ContextProvider> context_provider, |
- scoped_refptr<ContextProvider> worker_context_provider, |
- bool delegated_rendering) |
- : FakeOutputSurface(std::move(context_provider), |
- std::move(worker_context_provider), |
- nullptr, |
- delegated_rendering) {} |
+ scoped_refptr<ContextProvider> context_provider) |
+ : OutputSurface(std::move(context_provider)) {} |
FakeOutputSurface::FakeOutputSurface( |
- scoped_refptr<ContextProvider> context_provider, |
- scoped_refptr<ContextProvider> worker_context_provider, |
- std::unique_ptr<SoftwareOutputDevice> software_device, |
- bool delegated_rendering) |
- : OutputSurface(std::move(context_provider), |
- std::move(worker_context_provider), |
- std::move(software_device)) { |
- capabilities_.delegated_rendering = false; |
-} |
+ std::unique_ptr<SoftwareOutputDevice> software_device) |
+ : OutputSurface(std::move(software_device)) {} |
FakeOutputSurface::~FakeOutputSurface() = default; |