| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
|
| index 11983f37987640ad3af0a5dbc1012bbf102e589d..bf35ccb542d1d8f9db276f5ec1cd21ef7f91edfb 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
|
| @@ -66,6 +66,12 @@ class WebLayer;
|
|
|
| typedef Vector<GraphicsLayer*, 64> GraphicsLayerVector;
|
|
|
| +struct NeedsDisplayRecord {
|
| + IntRect r;
|
| + PaintInvalidationReason invalidationReason;
|
| + const DisplayItemClient& client;
|
| +};
|
| +
|
| // GraphicsLayer is an abstraction for a rendering surface with backing store,
|
| // which may have associated transformation and animations.
|
|
|
| @@ -182,7 +188,7 @@ public:
|
|
|
| void setNeedsDisplay();
|
| // Mark the given rect (in layer coords) as needing display. Never goes deep.
|
| - void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason, const DisplayItemClient&);
|
| + void setNeedsDisplayInRect(const Vector<NeedsDisplayRecord>& rects);
|
|
|
| void setContentsNeedsDisplay();
|
|
|
|
|