summaryrefslogtreecommitdiffstats
path: root/cc/output/output_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/output/output_surface.h')
-rw-r--r--cc/output/output_surface.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index fb6f0b9..a021ebf 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -11,6 +11,8 @@
#include "cc/output/software_output_device.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
+namespace ui { struct LatencyInfo; }
+
namespace gfx {
class Rect;
class Size;
@@ -21,7 +23,6 @@ namespace cc {
class CompositorFrame;
class OutputSurfaceClient;
class OutputSurfaceCallbacks;
-struct LatencyInfo;
// Represents the output surface for a compositor. The compositor owns
// and manages its destruction. Its lifetime is:
@@ -91,8 +92,8 @@ class CC_EXPORT OutputSurface {
virtual void BindFramebuffer();
- virtual void PostSubBuffer(gfx::Rect rect, const LatencyInfo&);
- virtual void SwapBuffers(const LatencyInfo&);
+ virtual void PostSubBuffer(gfx::Rect rect, const ui::LatencyInfo&);
+ virtual void SwapBuffers(const ui::LatencyInfo&);
// Notifies frame-rate smoothness preference. If true, all non-critical
// processing should be stopped, or lowered in priority.