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_; |