Index: Source/core/frame/FrameView.h |
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
index ddbcc32ce91be94b87f21e292b636eadebcd7d66..8db5cf6ad089e0a0bef5528a16ad0a19ce294b95 100644 |
--- a/Source/core/frame/FrameView.h |
+++ b/Source/core/frame/FrameView.h |
@@ -551,11 +551,11 @@ class AllowRepaintScope { |
public: |
explicit AllowRepaintScope(FrameView* view) |
: m_view(view) |
+ , m_originalValue(view ? view->canRepaintDuringPerformLayout() : false) |
{ |
if (!m_view) |
return; |
- m_originalValue = m_view->canRepaintDuringPerformLayout(); |
m_view->setCanRepaintDuringPerformLayout(true); |
} |