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

Unified Diff: cc/surfaces/surface.h

Issue 2625203004: Add debug method to print surface references. (Closed)
Patch Set: Little fixes. Created 3 years, 11 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
« no previous file with comments | « no previous file | cc/surfaces/surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface.h
diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
index cea948fb2f64af75982a984f892bc6cc5d12c2b4..0ac97a13b05bd675b9b941daceea0c8e7be6f050 100644
--- a/cc/surfaces/surface.h
+++ b/cc/surfaces/surface.h
@@ -61,7 +61,7 @@ class CC_SURFACES_EXPORT Surface {
// Returns the most recent frame that is eligible to be rendered.
// You must check whether HasFrame() returns true before calling this method.
- const CompositorFrame& GetEligibleFrame();
+ const CompositorFrame& GetEligibleFrame() const;
// Returns a number that increments by 1 every time a new frame is enqueued.
int frame_index() const { return frame_index_; }
« no previous file with comments | « no previous file | cc/surfaces/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698