diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-11 09:43:24 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-11 09:43:24 +0200 |
commit | 1b914638db989aaa98631a1c1e02c7b2d44805d8 (patch) | |
tree | 87f4fd2c7b38db320079a5de8877890d2ca3c485 /Source/WebCore/rendering/RenderObject.h | |
parent | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (diff) | |
download | qtwebkit-1b914638db989aaa98631a1c1e02c7b2d44805d8.tar.gz |
Imported WebKit commit 9a52e27980f47e8b0d8f8b7cc0fd7b5741bceb92 (http://svn.webkit.org/repository/webkit/trunk@116736)
New snapshot to include QDeclarative* -> QQml* build fixes
Diffstat (limited to 'Source/WebCore/rendering/RenderObject.h')
-rw-r--r-- | Source/WebCore/rendering/RenderObject.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/WebCore/rendering/RenderObject.h b/Source/WebCore/rendering/RenderObject.h index a4a0596fb..6af6e9a2f 100644 --- a/Source/WebCore/rendering/RenderObject.h +++ b/Source/WebCore/rendering/RenderObject.h @@ -389,6 +389,7 @@ public: if (!s_ancestorLineboxDirtySet) s_ancestorLineboxDirtySet = new RenderObjectAncestorLineboxDirtySet; s_ancestorLineboxDirtySet->add(this); + setNeedsLayout(true); } else if (s_ancestorLineboxDirtySet) { s_ancestorLineboxDirtySet->remove(this); if (s_ancestorLineboxDirtySet->isEmpty()) { @@ -417,7 +418,6 @@ public: virtual bool isSVGGradientStop() const { return false; } virtual bool isSVGHiddenContainer() const { return false; } virtual bool isSVGPath() const { return false; } - virtual bool isSVGRect() const { return false; } virtual bool isSVGShape() const { return false; } virtual bool isSVGText() const { return false; } virtual bool isSVGTextPath() const { return false; } @@ -713,7 +713,7 @@ public: virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; - void getTextDecorationColors(int decorations, Color& underline, Color& overline, Color& linethrough, bool quirksMode = false); + void getTextDecorationColors(int decorations, Color& underline, Color& overline, Color& linethrough, bool quirksMode = false, bool firstlineStyle = false); // Return the RenderBox in the container chain which is responsible for painting this object, or 0 // if painting is root-relative. This is the container that should be passed to the 'forRepaint' @@ -765,6 +765,12 @@ public: // If multiple-column layout results in applying an offset to the given point, add the same // offset to the given size. virtual void adjustForColumns(LayoutSize&, const LayoutPoint&) const { } + LayoutSize offsetForColumns(const LayoutPoint& point) const + { + LayoutSize offset; + adjustForColumns(offset, point); + return offset; + } virtual unsigned int length() const { return 1; } |