| Index: ui/compositor/paint_cache.h
|
| diff --git a/ui/compositor/paint_cache.h b/ui/compositor/paint_cache.h
|
| index b42c9c06ef7c15cea25056ce6634163ff61fbbd7..bb8159a8d1f724993355b5812f011e3921e4800d 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;
|
| @@ -23,7 +24,7 @@ class COMPOSITOR_EXPORT PaintCache {
|
| // painting output into the PaintContext. If it returns false, the caller
|
| // needs to do the work of painting, which can be stored into the PaintCache
|
| // to be used next time.
|
| - bool UseCache(const PaintContext& context);
|
| + bool UseCache(const PaintContext& context, const gfx::Size& size_in_layer);
|
|
|
| private:
|
| // Only PaintRecorder can modify these.
|
|
|