Index: Source/core/rendering/FastTextAutosizer.h |
diff --git a/Source/core/rendering/FastTextAutosizer.h b/Source/core/rendering/FastTextAutosizer.h |
index 8228c11efe97d8e443d58f8d37c56fd7c3d7dca9..ba7892c316e812a246d3cd287677cb737941c9b8 100644 |
--- a/Source/core/rendering/FastTextAutosizer.h |
+++ b/Source/core/rendering/FastTextAutosizer.h |
@@ -75,6 +75,14 @@ public: |
RenderBlock* m_block; |
}; |
+ class DeferUpdatePageInfo { |
+ public: |
+ explicit DeferUpdatePageInfo(Page*); |
+ ~DeferUpdatePageInfo(); |
+ private: |
+ RefPtr<LocalFrame> m_mainFrame; |
+ }; |
+ |
private: |
typedef HashSet<const RenderBlock*> BlockSet; |
@@ -234,6 +242,7 @@ private: |
float m_baseMultiplier; // Includes accessibility font scale factor and device scale adjustment. |
bool m_pageNeedsAutosizing; |
bool m_previouslyAutosized; |
+ bool m_updatePageInfoDeferred; |
const RenderBlock* m_firstBlock; // First block to receive beginLayout. |
#ifndef NDEBUG |
BlockSet m_blocksThatHaveBegunLayout; // Used to ensure we don't compute properties of a block before beginLayout() is called on it. |