Index: ui/gfx/compositor/compositor.h |
diff --git a/ui/gfx/compositor/compositor.h b/ui/gfx/compositor/compositor.h |
index 2522364bf3e38673543df0cb8611f6a53eb9bdc1..6096d0a931758a71791b7ed19268e00b0033ed3c 100644 |
--- a/ui/gfx/compositor/compositor.h |
+++ b/ui/gfx/compositor/compositor.h |
@@ -118,6 +118,7 @@ class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> { |
// Sets the root of the layer tree drawn by this Compositor. |
// The Compositor does not own the root layer. |
+ const Layer* root_layer() const { return root_layer_; } |
Layer* root_layer() { return root_layer_; } |
void SetRootLayer(Layer* root_layer); |