Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: cc/surfaces/surface.h

Issue 417843003: Make Surface::GetEligibleFrame const (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/surfaces/surface.h
diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
index f62a8971a6c91b9b985c94f733ac5fabcf481445..403d2e56baf6f8a575509050152fb4bc90bccbc8 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_; }

Powered by Google App Engine
This is Rietveld 408576698