| Index: cc/test/fake_output_surface.cc
|
| diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc
|
| index 4ba49716889ef6e50e1575f535e905bd8d9755d7..48925680eb960fb358c2f26def03c9232d1d2778 100644
|
| --- a/cc/test/fake_output_surface.cc
|
| +++ b/cc/test/fake_output_surface.cc
|
| @@ -24,10 +24,7 @@ FakeOutputSurface::FakeOutputSurface(
|
| has_external_stencil_test_(false),
|
| suspended_for_recycle_(false),
|
| framebuffer_(0) {
|
| - if (delegated_rendering) {
|
| - capabilities_.delegated_rendering = true;
|
| - capabilities_.max_frames_pending = 1;
|
| - }
|
| + capabilities_.delegated_rendering = delegated_rendering;
|
| }
|
|
|
| FakeOutputSurface::FakeOutputSurface(
|
| @@ -39,10 +36,7 @@ FakeOutputSurface::FakeOutputSurface(
|
| has_external_stencil_test_(false),
|
| suspended_for_recycle_(false),
|
| framebuffer_(0) {
|
| - if (delegated_rendering) {
|
| - capabilities_.delegated_rendering = true;
|
| - capabilities_.max_frames_pending = 1;
|
| - }
|
| + capabilities_.delegated_rendering = delegated_rendering;
|
| }
|
|
|
| FakeOutputSurface::FakeOutputSurface(
|
| @@ -54,10 +48,7 @@ FakeOutputSurface::FakeOutputSurface(
|
| has_external_stencil_test_(false),
|
| suspended_for_recycle_(false),
|
| framebuffer_(0) {
|
| - if (delegated_rendering) {
|
| - capabilities_.delegated_rendering = true;
|
| - capabilities_.max_frames_pending = 1;
|
| - }
|
| + capabilities_.delegated_rendering = delegated_rendering;
|
| }
|
|
|
| FakeOutputSurface::FakeOutputSurface(
|
| @@ -70,10 +61,7 @@ FakeOutputSurface::FakeOutputSurface(
|
| has_external_stencil_test_(false),
|
| suspended_for_recycle_(false),
|
| framebuffer_(0) {
|
| - if (delegated_rendering) {
|
| - capabilities_.delegated_rendering = true;
|
| - capabilities_.max_frames_pending = 1;
|
| - }
|
| + capabilities_.delegated_rendering = delegated_rendering;
|
| }
|
|
|
| FakeOutputSurface::~FakeOutputSurface() {}
|
|
|