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 3633d7897d537c8bf082d8be9009af44cb58521b..40650d836a0dbb3c4df87845ba486e0d0430657a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -1384,6 +1384,13 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
LayoutRect&, |
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. |
+ virtual bool adjustVisualRectForRasterEffects(LayoutRect& visualRect) const { |
+ return false; |
+ } |
+ |
// Return the offset to the column in which the specified point (in |
// flow-thread coordinates) lives. This is used to convert a flow-thread point |
// to a point in the containing coordinate space. |
@@ -1867,11 +1874,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
// changes at all). |
virtual bool anonymousHasStylePropagationOverride() { return false; } |
- // 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. |
- virtual void adjustVisualRectForRasterEffects(LayoutRect& visualRect) const {} |
- |
protected: |
// This function is called before calling the destructor so that some clean-up |
// can happen regardless of whether they call a virtual function or not. As a |