Chromium Code Reviews| Index: cc/test/fake_output_surface.h |
| diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h |
| index 7819848a8148c47e575608dbf3542a0f33277bee..275bbc7f92185489331d431a6f41f2050ff3166d 100644 |
| --- a/cc/test/fake_output_surface.h |
| +++ b/cc/test/fake_output_surface.h |
| @@ -54,6 +54,12 @@ class FakeOutputSurface : public OutputSurface { |
| false)); |
| } |
| + static scoped_ptr<FakeOutputSurface> Create3DSoftware() { |
|
danakj
2015/11/24 21:17:30
"3d"
Create3dWithResourcelessSoftwareSupport? or
boliu
2015/11/24 23:27:38
That works :)
|
| + return make_scoped_ptr(new FakeOutputSurface( |
| + TestContextProvider::Create(), |
| + make_scoped_ptr(new SoftwareOutputDevice), false)); |
| + } |
| + |
| static scoped_ptr<FakeOutputSurface> CreateDelegating3d() { |
| return make_scoped_ptr( |
| new FakeOutputSurface(TestContextProvider::Create(), |