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

Unified Diff: cc/surfaces/surface.h

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/compositor_frame_sink_support.cc ('k') | 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 1dc71b75761d28b2c20fe13cf9f24d4fc6dd0909..6f4495bf5651d825ddf3eace8ca211877a13ee30 100644
--- a/cc/surfaces/surface.h
+++ b/cc/surfaces/surface.h
@@ -127,9 +127,6 @@ class CC_SURFACES_EXPORT Surface {
return HasActiveFrame() && active_frame_data_->draw_callback;
}
- bool destroyed() const { return destroyed_; }
- void set_destroyed(bool destroyed) { destroyed_ = destroyed; }
-
private:
struct FrameData {
FrameData(CompositorFrame&& frame,
@@ -172,7 +169,6 @@ class CC_SURFACES_EXPORT Surface {
base::Optional<FrameData> active_frame_data_;
int frame_index_;
bool closed_ = false;
- bool destroyed_;
std::vector<SurfaceSequence> destruction_dependencies_;
base::flat_set<SurfaceId> blocking_surfaces_;
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support.cc ('k') | cc/surfaces/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698