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

Unified Diff: cc/test/pixel_test_output_surface.cc

Issue 2029323004: Get rid of virtual Display::CreateScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onscreendisplayclient
Patch Set: displaytest: androids Created 4 years, 7 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
Index: cc/test/pixel_test_output_surface.cc
diff --git a/cc/test/pixel_test_output_surface.cc b/cc/test/pixel_test_output_surface.cc
index 96ab60d1a2709a8fd4e0ad3acdf125bba6e107b9..78393ff3eb201ad4858de1ee2ad0bcebb35d5e8f 100644
--- a/cc/test/pixel_test_output_surface.cc
+++ b/cc/test/pixel_test_output_surface.cc
@@ -44,17 +44,6 @@ PixelTestOutputSurface::PixelTestOutputSurface(
PixelTestOutputSurface::~PixelTestOutputSurface() {}
-bool PixelTestOutputSurface::BindToClient(OutputSurfaceClient* client) {
- if (!OutputSurface::BindToClient(client))
- return false;
-
- // TODO(enne): Once the renderer uses begin frame sources, this will
- // always be valid.
- if (begin_frame_source_)
- client->SetBeginFrameSource(begin_frame_source_.get());
- return true;
-}
-
void PixelTestOutputSurface::Reshape(const gfx::Size& size,
float scale_factor,
bool has_alpha) {

Powered by Google App Engine
This is Rietveld 408576698