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

Unified Diff: cc/output/gl_renderer_unittest.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/output/compositor_frame_sink_unittest.cc ('k') | cc/output/output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer_unittest.cc
diff --git a/cc/output/gl_renderer_unittest.cc b/cc/output/gl_renderer_unittest.cc
index f9784f59879b2d1177e19f6be9d9a9676307d849..c88d52d602d1cee475ea05f3c3d68596da39f49b 100644
--- a/cc/output/gl_renderer_unittest.cc
+++ b/cc/output/gl_renderer_unittest.cc
@@ -1041,9 +1041,7 @@ class DiscardCheckingGLES2Interface : public TestGLES2Interface {
class NonReshapableOutputSurface : public FakeOutputSurface {
public:
explicit NonReshapableOutputSurface(std::unique_ptr<TestGLES2Interface> gl)
- : FakeOutputSurface(TestContextProvider::Create(std::move(gl)),
- nullptr,
- false) {
+ : FakeOutputSurface(TestContextProvider::Create(std::move(gl))) {
surface_size_ = gfx::Size(500, 500);
}
void Reshape(const gfx::Size& size,
@@ -1594,11 +1592,8 @@ class OutputSurfaceMockContext : public TestWebGraphicsContext3D {
class MockOutputSurface : public OutputSurface {
public:
MockOutputSurface()
- : OutputSurface(
- TestContextProvider::Create(
- base::MakeUnique<StrictMock<OutputSurfaceMockContext>>()),
- nullptr,
- nullptr) {
+ : OutputSurface(TestContextProvider::Create(
+ base::MakeUnique<StrictMock<OutputSurfaceMockContext>>())) {
surface_size_ = gfx::Size(100, 100);
}
virtual ~MockOutputSurface() {}
« no previous file with comments | « cc/output/compositor_frame_sink_unittest.cc ('k') | cc/output/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698