diff options
Diffstat (limited to 'Source/WebCore/rendering/RenderBoxModelObject.h')
| -rw-r--r-- | Source/WebCore/rendering/RenderBoxModelObject.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/RenderBoxModelObject.h b/Source/WebCore/rendering/RenderBoxModelObject.h index bb81bd3be..027b1fb89 100644 --- a/Source/WebCore/rendering/RenderBoxModelObject.h +++ b/Source/WebCore/rendering/RenderBoxModelObject.h @@ -60,6 +60,12 @@ public:      virtual LayoutUnit offsetWidth() const = 0;      virtual LayoutUnit offsetHeight() const = 0; +    // FIXME: The implementation for these functions will change once we move to subpixel layout. See bug 60318. +    int pixelSnappedOffsetLeft() const { return offsetLeft(); } +    int pixelSnappedOffsetTop() const { return offsetTop(); } +    int pixelSnappedOffsetWidth() const; +    int pixelSnappedOffsetHeight() const; +      virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle);      virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);      virtual void updateBoxModelInfoFromStyle();  | 
