Index: Source/WebCore/rendering/RenderView.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderView.cpp (revision 121785) |
+++ Source/WebCore/rendering/RenderView.cpp (working copy) |
@@ -652,8 +652,7 @@ |
if (!printing() || !m_frameView) |
return false; |
Frame* frame = m_frameView->frame(); |
- // Only root frame should have special handling for printing. |
- return frame && !frame->tree()->parent(); |
+ return frame && frame->shouldUsePrintingLayout(); |
} |
size_t RenderView::getRetainedWidgets(Vector<RenderWidget*>& renderWidgets) |