Index: third_party/WebKit/Source/core/paint/PaintInvalidator.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.h b/third_party/WebKit/Source/core/paint/PaintInvalidator.h |
index 33404f1112d704b7a1895b628afdcbc9c2f5030a..68c7e5aa0312ec396be16cb188cd2ba363912e4a 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.h |
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.h |
@@ -17,13 +17,6 @@ class LayoutObject; |
class PaintLayer; |
struct PaintPropertyTreeBuilderContext; |
-struct PaintInvalidationRectInBacking { |
- LayoutRect rect; |
- // True if the rect have been expanded to whole pixels or be rotated, skewed, |
- // etc., so covers more pixels than the object covers. |
- bool coversExtraPixels = false; |
-}; |
- |
struct PaintInvalidatorContext { |
PaintInvalidatorContext( |
const PaintPropertyTreeBuilderContext& treeBuilderContext) |
@@ -75,8 +68,8 @@ struct PaintInvalidatorContext { |
PaintLayer* paintingLayer = nullptr; |
- PaintInvalidationRectInBacking oldBounds; |
- PaintInvalidationRectInBacking newBounds; |
+ LayoutRect oldBounds; |
+ LayoutRect newBounds; |
LayoutPoint oldLocation; |
LayoutPoint newLocation; |
}; |
@@ -91,11 +84,11 @@ class PaintInvalidator { |
void processPendingDelayedPaintInvalidations(); |
private: |
- PaintInvalidationRectInBacking mapLocalRectToPaintInvalidationBacking( |
+ LayoutRect mapLocalRectToPaintInvalidationBacking( |
const LayoutObject&, |
const FloatRect&, |
const PaintInvalidatorContext&); |
- PaintInvalidationRectInBacking computePaintInvalidationRectInBacking( |
+ LayoutRect computePaintInvalidationRectInBacking( |
const LayoutObject&, |
const PaintInvalidatorContext&); |
LayoutPoint computeLocationFromPaintInvalidationBacking( |