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..740367f87f032495607f1dfb3c59cb2d0a83760b 100644 |
--- a/cc/test/fake_output_surface.h |
+++ b/cc/test/fake_output_surface.h |
@@ -94,6 +94,10 @@ class FakeOutputSurface : public OutputSurface { |
return surface.Pass(); |
} |
+ void set_max_frames_pending(int max) { |
+ capabilities_.max_frames_pending = max; |
+ } |
+ |
CompositorFrame& last_sent_frame() { return last_sent_frame_; } |
size_t num_sent_frames() { return num_sent_frames_; } |