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

Unified Diff: cc/surfaces/surface.cc

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.cc
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc
index bed727c09afb7e92e96bde4a2305e851cd435d50..55c7392249806d90cb8f81c1b6d030e3043b8632 100644
--- a/cc/surfaces/surface.cc
+++ b/cc/surfaces/surface.cc
@@ -38,6 +38,8 @@ void Surface::QueueFrame(scoped_ptr<CompositorFrame> frame) {
}
}
-CompositorFrame* Surface::GetEligibleFrame() { return current_frame_.get(); }
+const CompositorFrame* Surface::GetEligibleFrame() {
+ return current_frame_.get();
+}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698