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

Unified Diff: cc/test/pixel_test_output_surface.h

Issue 2029323004: Get rid of virtual Display::CreateScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onscreendisplayclient
Patch Set: displaytest: unusedvar Created 4 years, 6 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/pixel_test_delegating_output_surface.cc ('k') | cc/test/pixel_test_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test_output_surface.h
diff --git a/cc/test/pixel_test_output_surface.h b/cc/test/pixel_test_output_surface.h
index 6cd4191adedce7b7eb7b77f905198a3188fa6865..b18e69fa21af4c4704899439147455a3a7006475 100644
--- a/cc/test/pixel_test_output_surface.h
+++ b/cc/test/pixel_test_output_surface.h
@@ -9,25 +9,19 @@
namespace cc {
-class BeginFrameSource;
-
class PixelTestOutputSurface : public OutputSurface {
public:
explicit PixelTestOutputSurface(
scoped_refptr<ContextProvider> context_provider,
scoped_refptr<ContextProvider> worker_context_provider,
- bool flipped_output_surface,
- std::unique_ptr<BeginFrameSource> begin_frame_source);
+ bool flipped_output_surface);
explicit PixelTestOutputSurface(
scoped_refptr<ContextProvider> context_provider,
- bool flipped_output_surface,
- std::unique_ptr<BeginFrameSource> begin_frame_source);
+ bool flipped_output_surface);
explicit PixelTestOutputSurface(
- std::unique_ptr<SoftwareOutputDevice> software_device,
- std::unique_ptr<BeginFrameSource> begin_frame_source);
+ std::unique_ptr<SoftwareOutputDevice> software_device);
~PixelTestOutputSurface() override;
- bool BindToClient(OutputSurfaceClient* client) override;
void Reshape(const gfx::Size& size, float scale_factor, bool alpha) override;
bool HasExternalStencilTest() const override;
void SwapBuffers(CompositorFrame* frame) override;
@@ -40,7 +34,6 @@ class PixelTestOutputSurface : public OutputSurface {
}
private:
- std::unique_ptr<BeginFrameSource> begin_frame_source_;
gfx::Size surface_expansion_size_;
bool external_stencil_test_;
};
« no previous file with comments | « cc/test/pixel_test_delegating_output_surface.cc ('k') | cc/test/pixel_test_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698