Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index 800f7eb5e2f5560c6959d1487fa74b3475e776a1..ba02f03d5600523d04690f868080f4733a82d0ec 100644 |
--- a/cc/layer_tree_host_impl.h |
+++ b/cc/layer_tree_host_impl.h |
@@ -33,6 +33,13 @@ class ResourceProvider; |
struct RendererCapabilities; |
struct RenderingStats; |
+enum WhichTree { |
+ // Note: these must be 0 and 1 because we index with them in various places, |
+ // e.g. in Tile::priority_. |
+ ACTIVE_TREE = 0, |
+ PENDING_TREE = 1 |
+}; |
+ |
// LayerTreeHost->Proxy callback interface. |
class LayerTreeHostImplClient { |
public: |