Index: cc/surfaces/surface_factory.h |
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h |
index 3a6431596bc9cc470e8ef4fdbae1520988543e14..9ea3e4a740ae3fc6f9b8e0ecd70cd309c5a1352a 100644 |
--- a/cc/surfaces/surface_factory.h |
+++ b/cc/surfaces/surface_factory.h |
@@ -46,12 +46,6 @@ class CC_SURFACES_EXPORT SurfaceFactory { |
const FrameSinkId& frame_sink_id() const { return frame_sink_id_; } |
- void Create(const LocalFrameId& local_frame_id); |
- void Destroy(const LocalFrameId& local_frame_id); |
- |
- // Destroys all surfaces. |
- void DestroyAll(); |
- |
// Destroys and disown all surfaces, and reset all resource references. This |
// is useful when resources are invalid (e.g. lost context). |
void Reset(); |
@@ -93,11 +87,15 @@ class CC_SURFACES_EXPORT SurfaceFactory { |
private: |
FrameSinkId frame_sink_id_; |
+ LocalFrameId current_local_frame_id_; |
SurfaceManager* manager_; |
SurfaceFactoryClient* client_; |
SurfaceResourceHolder holder_; |
bool needs_sync_points_; |
+ void Create(const LocalFrameId& local_frame_id); |
+ void Destroy(const LocalFrameId& local_frame_id); |
+ void DestroyAll(); |
using OwningSurfaceMap = std:: |
unordered_map<LocalFrameId, std::unique_ptr<Surface>, LocalFrameIdHash>; |