Index: Source/core/rendering/RenderBox.h |
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
index e2c06cf1ea8e7b4eccc7be0f1ff7914a35b5f9c8..c8c888aa68fe03d7f1e9e160d9dd73400f8577be 100644 |
--- a/Source/core/rendering/RenderBox.h |
+++ b/Source/core/rendering/RenderBox.h |
@@ -631,7 +631,8 @@ protected: |
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE; |
virtual void updateFromStyle() OVERRIDE; |
- LayoutRect backgroundPaintedExtent() const; |
+ // Returns false if it could not cheaply compute the extent (e.g. fixed background), in which case the returned rect may be incorrect. |
+ bool getBackgroundPaintedExtent(LayoutRect&) const; |
virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned maxDepthToTest) const; |
virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE; |