Index: cc/surfaces/surface_factory.h |
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h |
index 3eb4f4382e60faaf36a1ffd87d084e7f125dcdc4..13d1d63fb14d3ba5816709e3cb89f7c70762216d 100644 |
--- a/cc/surfaces/surface_factory.h |
+++ b/cc/surfaces/surface_factory.h |
@@ -5,6 +5,8 @@ |
#ifndef CC_SURFACES_SURFACE_FACTORY_H_ |
#define CC_SURFACES_SURFACE_FACTORY_H_ |
+#include <set> |
+ |
#include "base/callback_forward.h" |
#include "base/containers/scoped_ptr_hash_map.h" |
#include "base/memory/scoped_ptr.h" |
@@ -40,6 +42,7 @@ class CC_SURFACES_EXPORT SurfaceFactory |
void Destroy(SurfaceId surface_id); |
void DestroyOnSequence(SurfaceId surface_id, |
const std::set<SurfaceSequence>& dependency_set); |
+ void DestroyAll(); |
// A frame can only be submitted to a surface created by this factory, |
// although the frame may reference surfaces created by other factories. |
// The callback is called the first time this frame is used to draw. |