diff options
author | Victoria Lease <violets@google.com> | 2012-05-17 08:46:36 -0700 |
---|---|---|
committer | Victoria Lease <violets@google.com> | 2012-05-18 09:46:38 -0700 |
commit | 05c44efdceb09e0a5066c1f2ae06a5f19fd7fc6c (patch) | |
tree | 8395d57a2e783b3de40fe03f26badad289e3eb45 /Source/WebCore/rendering/RenderObject.h | |
parent | 7b17ee7dc951f404d93a458a61884d5c1bf6e40f (diff) | |
download | external_webkit-05c44efdceb09e0a5066c1f2ae06a5f19fd7fc6c.zip external_webkit-05c44efdceb09e0a5066c1f2ae06a5f19fd7fc6c.tar.gz external_webkit-05c44efdceb09e0a5066c1f2ae06a5f19fd7fc6c.tar.bz2 |
Cherrypick WebKit r94543.
http://trac.webkit.org/changeset/94543
isBeforeOrAfterContent() was already pulled in from r94543 as a part
of I02da7a9f891a6eec394398529f64b0992cbfce70, but we needed the rest
of the patch to address our ruby text alignment issues.
Bug: 6105670
Change-Id: Iad4d6308ab053488abd118eee83058cfc81e22e8
Diffstat (limited to 'Source/WebCore/rendering/RenderObject.h')
-rw-r--r-- | Source/WebCore/rendering/RenderObject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/RenderObject.h b/Source/WebCore/rendering/RenderObject.h index f5fe562..18086c9 100644 --- a/Source/WebCore/rendering/RenderObject.h +++ b/Source/WebCore/rendering/RenderObject.h @@ -315,6 +315,7 @@ public: inline bool isBeforeOrAfterContent() const; static inline bool isBeforeContent(const RenderObject* obj) { return obj && obj->isBeforeContent(); } static inline bool isAfterContent(const RenderObject* obj) { return obj && obj->isAfterContent(); } + static inline bool isBeforeOrAfterContent(const RenderObject* obj) { return obj && obj->isBeforeOrAfterContent(); } bool childrenInline() const { return m_childrenInline; } void setChildrenInline(bool b = true) { m_childrenInline = b; } @@ -777,6 +778,7 @@ protected: virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); // Overrides should call the superclass at the start virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); + void propagateStyleToAnonymousChildren(); void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, BoxSide, Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false); |