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

Unified Diff: cc/test/fake_output_surface.cc

Issue 2171143002: cc: Get rid of non-delegated rendering in most cc unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@killdirecttests
Patch Set: fakeoutputsurface: no-constructor Created 4 years, 5 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_test_common.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 c867d6b65d2ae3d5ee6cbf3f061a41fab9c33195..1fb7f23bf32cdc5783c6820406b4903f9c1b3749 100644
--- a/cc/test/fake_output_surface.cc
+++ b/cc/test/fake_output_surface.cc
@@ -23,14 +23,6 @@ FakeOutputSurface::FakeOutputSurface(
delegated_rendering) {}
FakeOutputSurface::FakeOutputSurface(
- std::unique_ptr<SoftwareOutputDevice> software_device,
- bool delegated_rendering)
- : FakeOutputSurface(nullptr,
- nullptr,
- std::move(software_device),
- delegated_rendering) {}
-
-FakeOutputSurface::FakeOutputSurface(
scoped_refptr<ContextProvider> context_provider,
scoped_refptr<ContextProvider> worker_context_provider,
std::unique_ptr<SoftwareOutputDevice> software_device,
@@ -108,12 +100,6 @@ void FakeOutputSurface::DetachFromClient() {
OutputSurface::DetachFromClient();
}
-void FakeOutputSurface::SetTreeActivationCallback(
- const base::Closure& callback) {
- DCHECK(client_);
- client_->SetTreeActivationCallback(callback);
-}
-
bool FakeOutputSurface::HasExternalStencilTest() const {
return has_external_stencil_test_;
}
« no previous file with comments | « cc/test/fake_output_surface.h ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698