diff options
| author | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-23 10:25:11 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-23 10:25:11 +0200 |
| commit | 5ea819f80c6840c492386bfafbffb059c7e2091f (patch) | |
| tree | 42ad0b1d82eff090d14278a088ea0f4840a0f938 /Source/WebCore/rendering/ExclusionShapeInsideInfo.h | |
| parent | 43a42f108af6bcbd91f2672731c3047c26213af1 (diff) | |
| download | qtwebkit-5ea819f80c6840c492386bfafbffb059c7e2091f.tar.gz | |
Imported WebKit commit 20434eb8eb95065803473139d8794e98a7672f75 (http://svn.webkit.org/repository/webkit/trunk@132191)
New snapshot that should fix build with latest qtbase and the QPlastiqueStyle removal
Diffstat (limited to 'Source/WebCore/rendering/ExclusionShapeInsideInfo.h')
| -rw-r--r-- | Source/WebCore/rendering/ExclusionShapeInsideInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/rendering/ExclusionShapeInsideInfo.h b/Source/WebCore/rendering/ExclusionShapeInsideInfo.h index 9db1b101e..bea2b45a0 100644 --- a/Source/WebCore/rendering/ExclusionShapeInsideInfo.h +++ b/Source/WebCore/rendering/ExclusionShapeInsideInfo.h @@ -73,7 +73,7 @@ public: ASSERT(hasSegments()); return m_segments; } - bool computeSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineBottom); + bool computeSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight); bool lineOverlapsShapeBounds() const; void computeShapeSize(LayoutUnit logicalWidth, LayoutUnit logicalHeight); void dirtyShapeSize() { m_shapeSizeDirty = true; } @@ -85,7 +85,7 @@ private: OwnPtr<ExclusionShape> m_shape; LayoutUnit m_lineTop; - LayoutUnit m_lineBottom; + LayoutUnit m_lineHeight; LayoutUnit m_logicalWidth; LayoutUnit m_logicalHeight; @@ -97,7 +97,7 @@ inline bool ExclusionShapeInsideInfo::lineOverlapsShapeBounds() const { ASSERT(m_shape); FloatRect shapeBounds = m_shape->shapeLogicalBoundingBox(); - return m_lineTop <= shapeBounds.maxY() && m_lineBottom >= shapeBounds.y(); + return m_lineTop < shapeBounds.maxY() && m_lineTop + m_lineHeight >= shapeBounds.y(); } } |
