| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index bba69047de2ce35c11c2acfc67df597645d85d16..a080f8c9792e8b90be2a68309708ea95317ee71d 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -834,6 +834,8 @@ void FrameView::layout(bool allowSubtree)
|
| ASSERT(m_frame->view() == this);
|
| ASSERT(m_frame->page());
|
|
|
| + ScriptForbiddenScope forbidScript;
|
| +
|
| if (isInPerformLayout() || !m_frame->document()->isActive())
|
| return;
|
|
|
|
|