| Index: ui/compositor/paint_cache.h
|
| diff --git a/ui/compositor/paint_cache.h b/ui/compositor/paint_cache.h
|
| index b42c9c06ef7c15cea25056ce6634163ff61fbbd7..983b4cf07f2d2f3b884804d38bac2d7f10a79c64 100644
|
| --- a/ui/compositor/paint_cache.h
|
| +++ b/ui/compositor/paint_cache.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "cc/playback/drawing_display_item.h"
|
| #include "ui/compositor/compositor_export.h"
|
| +#include "ui/gfx/geometry/rect.h"
|
|
|
| namespace ui {
|
| class PaintContext;
|
| @@ -29,9 +30,11 @@ class COMPOSITOR_EXPORT PaintCache {
|
| // Only PaintRecorder can modify these.
|
| friend PaintRecorder;
|
|
|
| - void SetCache(const cc::DrawingDisplayItem* item);
|
| + void SetCache(const gfx::Rect& visual_rect,
|
| + const cc::DrawingDisplayItem* item);
|
|
|
| bool has_cache_;
|
| + gfx::Rect visual_rect_;
|
| cc::DrawingDisplayItem display_item_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PaintCache);
|
|
|