Chromium Code Reviews| Index: Source/core/rendering/svg/RenderSVGText.cpp |
| diff --git a/Source/core/rendering/svg/RenderSVGText.cpp b/Source/core/rendering/svg/RenderSVGText.cpp |
| index 28a4bfa45c62b73a576e48b4099a67174a210f3f..028fb4c5ee65210cfa821738356740c294c99c53 100644 |
| --- a/Source/core/rendering/svg/RenderSVGText.cpp |
| +++ b/Source/core/rendering/svg/RenderSVGText.cpp |
| @@ -32,6 +32,7 @@ |
| #include "core/paint/SVGTextPainter.h" |
| #include "core/rendering/HitTestRequest.h" |
| #include "core/rendering/HitTestResult.h" |
| +#include "core/rendering/LayoutState.h" |
| #include "core/rendering/PaintInfo.h" |
| #include "core/rendering/PointerEventsHitRules.h" |
| #include "core/rendering/style/ShadowList.h" |
| @@ -392,6 +393,13 @@ void RenderSVGText::layout() |
| LayoutUnit afterEdge = borderAfter() + paddingAfter() + scrollbarLogicalHeight(); |
| setLogicalHeight(beforeEdge); |
| + LayoutUnit pageLogicalHeight = 0; |
| + bool logicalWidthChanged = false; |
| + bool pageLogicalHeightChanged = false; |
| + bool hasSpecifiedPageLogicalHeight = false; |
| + checkForPaginationLogicalHeightChange(pageLogicalHeight, pageLogicalHeightChanged, hasSpecifiedPageLogicalHeight); |
|
leviw_travelin_and_unemployed
2014/11/03 21:55:11
We also ASSERT(!hasColumns()) in RenderSVGText. It
|
| + LayoutState state(*this, locationOffset(), pageLogicalHeight, pageLogicalHeightChanged, columnInfo(), logicalWidthChanged); |
| + |
| LayoutUnit paintInvalidationLogicalTop = 0; |
| LayoutUnit paintInvalidationLogicalBottom = 0; |
| layoutInlineChildren(true, paintInvalidationLogicalTop, paintInvalidationLogicalBottom, afterEdge); |