Index: Source/core/rendering/RenderBox.h |
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
index 7e9ceeb69f13c1db3c7848216d97745467b737c5..29fcbb45f5760f30e770f8f4112710c4a30ec038 100644 |
--- a/Source/core/rendering/RenderBox.h |
+++ b/Source/core/rendering/RenderBox.h |
@@ -612,7 +612,8 @@ protected: |
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
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; |