| Index: Source/core/rendering/RenderView.cpp
|
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
|
| index d7d3b7b7eec0e004c114ec3893663289d67c91f8..e7778f5bf4ddb69b10819c232b7e07ba447a2748 100644
|
| --- a/Source/core/rendering/RenderView.cpp
|
| +++ b/Source/core/rendering/RenderView.cpp
|
| @@ -190,14 +190,19 @@ void RenderView::layout()
|
| if (!document().paginated())
|
| setPageLogicalHeight(0);
|
|
|
| - if (shouldUsePrintingLayout())
|
| + if (shouldUsePrintingLayout()) {
|
| m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = logicalWidth();
|
| + setShouldDoFullRepaintAfterLayout(true);
|
| + }
|
|
|
| SubtreeLayoutScope layoutScope(*this);
|
|
|
| // Use calcWidth/Height to get the new width/height, since this will take the full page zoom factor into account.
|
| bool relayoutChildren = !shouldUsePrintingLayout() && (!m_frameView || width() != viewWidth() || height() != viewHeight());
|
| if (relayoutChildren) {
|
| + // FIXME: Should not always fully repaint on resize.
|
| + setShouldDoFullRepaintAfterLayout(true);
|
| +
|
| layoutScope.setChildNeedsLayout(this);
|
| for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
|
| if (child->isSVGRoot())
|
|
|