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

Unified Diff: cc/surfaces/surface.cc

Issue 2940183002: cc: Move ownership of surfaces to SurfaceManager (Closed)
Patch Set: Fix exo Created 3 years, 6 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 9be53ad344321bf0cdda2f32a160713ca125df23..19c54082b605c77d2ee738e3f20c4e5361a71d89 100644
--- a/cc/surfaces/surface.cc
+++ b/cc/surfaces/surface.cc
@@ -29,8 +29,7 @@ Surface::Surface(
previous_frame_surface_id_(surface_info.id()),
compositor_frame_sink_support_(std::move(compositor_frame_sink_support)),
surface_manager_(compositor_frame_sink_support_->surface_manager()),
- frame_index_(kFrameIndexStart),
- destroyed_(false) {}
+ frame_index_(kFrameIndexStart) {}
Surface::~Surface() {
ClearCopyRequests();
« 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