Index: Source/core/layout/TextAutosizer.cpp |
diff --git a/Source/core/layout/TextAutosizer.cpp b/Source/core/layout/TextAutosizer.cpp |
index 5968f4555e2a97b2e06070c12798c70c523683fb..0d8e00a77cd343830187718627a366e478f0137c 100644 |
--- a/Source/core/layout/TextAutosizer.cpp |
+++ b/Source/core/layout/TextAutosizer.cpp |
@@ -481,6 +481,11 @@ bool TextAutosizer::shouldHandleLayout() const |
return m_pageInfo.m_settingEnabled && m_pageInfo.m_pageNeedsAutosizing && !m_updatePageInfoDeferred; |
} |
+bool TextAutosizer::pageNeedsAutosizing() const |
+{ |
+ return m_pageInfo.m_pageNeedsAutosizing; |
+} |
+ |
void TextAutosizer::updatePageInfoInAllFrames() |
{ |
ASSERT(!m_document->frame() || m_document->frame()->isMainFrame()); |