Index: third_party/WebKit/Source/core/layout/LayoutView.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp |
index 87c03483a421bcc65aacd97f0da39a769ec26ca6..fc1a96ed043106bdd5df131f6f0a404f182acf00 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp |
@@ -241,9 +241,7 @@ void LayoutView::layout() |
if (shouldUsePrintingLayout()) { |
m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = logicalWidth(); |
- // TODO(mstensho): Get rid of m_pageLogicalHeight zero check. Currently, pageProperty() in |
- // PrintContext starts printing with zero height, so we have to cope for now. |
- if (!m_fragmentationContext && m_pageLogicalHeight) |
+ if (!m_fragmentationContext) |
m_fragmentationContext = adoptPtr(new ViewFragmentationContext(*this)); |
} else if (m_fragmentationContext) { |
m_fragmentationContext.clear(); |