summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/surfaces/surface.h')
-rw-r--r--cc/surfaces/surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
index f62a897..403d2e5 100644
--- a/cc/surfaces/surface.h
+++ b/cc/surfaces/surface.h
@@ -28,7 +28,7 @@ class CC_SURFACES_EXPORT Surface {
void QueueFrame(scoped_ptr<CompositorFrame> frame);
// Returns the most recent frame that is eligible to be rendered.
- CompositorFrame* GetEligibleFrame();
+ const CompositorFrame* GetEligibleFrame();
SurfaceFactory* factory() { return factory_; }