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

Unified Diff: cc/test/fake_output_surface.cc

Issue 2349743004: cc: Remove things from OutputSurface and CompositorFrameSink. (Closed)
Patch Set: delete-stuff-cfs: comment-and-rebase Created 4 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/fake_output_surface.h ('k') | cc/test/layer_tree_pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/test/fake_output_surface.h ('k') | cc/test/layer_tree_pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698