Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 67bcbbd38f4e103540fadfe864bb21597d146a7d..3a2b86fdc59d662f0e53c47e815ae2d15609a326 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -45,6 +45,7 @@ |
#include "core/style/ComputedStyle.h" |
#include "platform/geometry/FloatQuad.h" |
#include "platform/geometry/LayoutRect.h" |
+#include "platform/geometry/TransformState.h" |
#include "platform/graphics/CompositingReasons.h" |
#include "platform/graphics/PaintInvalidationReason.h" |
#include "platform/graphics/paint/DisplayItemClient.h" |
@@ -68,7 +69,6 @@ class LayoutView; |
class ObjectPaintProperties; |
class PaintLayer; |
class PseudoStyleRequest; |
-class TransformState; |
struct PaintInfo; |
struct PaintInvalidatorContext; |
@@ -1403,11 +1403,18 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
// return value will be true only if the clipped rect has non-zero area. |
// See the documentation for LayoutRect::inclusiveIntersect for more |
// information. |
- virtual bool mapToVisualRectInAncestorSpace( |
+ bool mapToVisualRectInAncestorSpace( |
const LayoutBoxModelObject* ancestor, |
LayoutRect&, |
VisualRectFlags = DefaultVisualRectFlags) const; |
+ // Do not call this method directly. Call mapToVisualRectInAncestorSpace |
+ // instead. |
+ virtual bool mapToVisualRectInAncestorSpaceInternal( |
+ const LayoutBoxModelObject* ancestor, |
+ TransformState&, |
+ VisualRectFlags = DefaultVisualRectFlags) const; |
+ |
// Allows objects to adjust |visualEffect|, which is in the space of the |
// paint invalidation container, for any special raster effects that might |
// expand the rastered pixel area. Returns true if the rect is expanded. |