Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index 8f782d77cf3241b814478526b2791172f4712f72..0ef25aed596ff8cb00b4f442f21e5cec4ba631e0 100644 |
--- a/cc/output/output_surface.h |
+++ b/cc/output/output_surface.h |
@@ -15,6 +15,8 @@ |
#include "cc/scheduler/frame_rate_controller.h" |
#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
+namespace base { class SingleThreadTaskRunner; } |
+ |
namespace ui { struct LatencyInfo; } |
namespace gfx { |
@@ -29,7 +31,6 @@ class CompositorFrame; |
class CompositorFrameAck; |
class OutputSurfaceClient; |
class OutputSurfaceCallbacks; |
-class Thread; |
// Represents the output surface for a compositor. The compositor owns |
// and manages its destruction. Its lifetime is: |
@@ -88,9 +89,9 @@ class CC_EXPORT OutputSurface : public FrameRateControllerClient { |
virtual bool BindToClient(OutputSurfaceClient* client); |
void InitializeBeginFrameEmulation( |
- Thread* thread, |
- bool throttle_frame_production, |
- base::TimeDelta interval); |
+ base::SingleThreadTaskRunner* task_runner, |
+ bool throttle_frame_production, |
+ base::TimeDelta interval); |
void SetMaxFramesPending(int max_frames_pending); |