Chromium Code Reviews| Index: ui/compositor/layer.h |
| diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
| index 4faab1228f680928d6c861146b5e7af903692f77..d02412e4684ab342a237566ca6c84834378d867c 100644 |
| --- a/ui/compositor/layer.h |
| +++ b/ui/compositor/layer.h |
| @@ -287,6 +287,8 @@ class COMPOSITOR_EXPORT Layer |
| // |compostior_| to repaint the content. |
| void SendDamagedRects(); |
| + const SkRegion& damaged_region() const { return damaged_region_; } |
| + |
| // Suppresses painting the content by disgarding damaged region and ignoring |
| // new paint requests. |
| void SuppressPaint(); |