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

Unified Diff: cc/surfaces/surface.cc

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 | « cc/surfaces/surface.h ('k') | cc/surfaces/surface_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface.cc
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc
index 282974d22c31ab7fca705000b8d7a35ecd2a3279..20d34011a58d5aa0bff6e4236856476a219fe560 100644
--- a/cc/surfaces/surface.cc
+++ b/cc/surfaces/surface.cc
@@ -116,7 +116,7 @@ void Surface::TakeCopyOutputRequests(
}
}
-const CompositorFrame& Surface::GetEligibleFrame() {
+const CompositorFrame& Surface::GetEligibleFrame() const {
DCHECK(current_frame_);
return current_frame_.value();
}
« no previous file with comments | « cc/surfaces/surface.h ('k') | cc/surfaces/surface_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698