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

Unified Diff: cc/surfaces/referenced_surface_tracker.h

Issue 2687433002: Move surface reference code to CompositorFrameSinkSupport. (Closed)
Patch Set: Revert to patch 2 to reland. Created 3 years, 10 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/compositor_frame_sink_support.cc ('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/referenced_surface_tracker.h
diff --git a/cc/surfaces/referenced_surface_tracker.h b/cc/surfaces/referenced_surface_tracker.h
index 395a853ecbb4343052d24180479247fb211b5e38..bc6e90643bf3c4cfadb457b36320f069606749cb 100644
--- a/cc/surfaces/referenced_surface_tracker.h
+++ b/cc/surfaces/referenced_surface_tracker.h
@@ -26,11 +26,11 @@ class CC_SURFACES_EXPORT ReferencedSurfaceTracker {
const SurfaceId& current_surface_id() const { return current_surface_id_; }
- std::vector<SurfaceReference>& references_to_add() {
+ const std::vector<SurfaceReference>& references_to_add() const {
return references_to_add_;
}
- std::vector<SurfaceReference>& references_to_remove() {
+ const std::vector<SurfaceReference>& references_to_remove() const {
return references_to_remove_;
}
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | cc/surfaces/surface_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698