Index: ui/gfx/compositor/layer.h |
diff --git a/ui/gfx/compositor/layer.h b/ui/gfx/compositor/layer.h |
index 99490609f34a9ab11ef845b87bd266358cc0621d..116877874af7ff32553448ff0690463afa49596c 100644 |
--- a/ui/gfx/compositor/layer.h |
+++ b/ui/gfx/compositor/layer.h |
@@ -91,6 +91,8 @@ class COMPOSITOR_EXPORT Layer : |
const Layer* parent() const { return parent_; } |
Layer* parent() { return parent_; } |
+ LayerType type() const { return type_; } |
+ |
// Returns true if this Layer contains |other| somewhere in its children. |
bool Contains(const Layer* other) const; |