Index: Source/core/rendering/FastTextAutosizer.h |
diff --git a/Source/core/rendering/FastTextAutosizer.h b/Source/core/rendering/FastTextAutosizer.h |
index ae5d93ff7080ca130f3617ebf51a52e0627e41cc..31c0e284772baecbae91724152adc95fc2fac8d6 100644 |
--- a/Source/core/rendering/FastTextAutosizer.h |
+++ b/Source/core/rendering/FastTextAutosizer.h |
@@ -67,6 +67,7 @@ public: |
class LayoutScope { |
public: |
explicit LayoutScope(Document& document, RenderBlock* block) |
+ : m_block(0) |
{ |
m_textAutosizer = document.fastTextAutosizer(); |
if (m_textAutosizer) { |
@@ -76,8 +77,6 @@ public: |
} |
m_block = block; |
m_textAutosizer->beginLayout(m_block); |
- } else { |
- m_block = 0; |
} |
} |