Index: Source/WebCore/page/FrameView.cpp |
=================================================================== |
--- Source/WebCore/page/FrameView.cpp (revision 105784) |
+++ Source/WebCore/page/FrameView.cpp (working copy) |
@@ -901,6 +901,8 @@ |
if (!svgRoot->needsSizeNegotiationWithHostDocument()) |
return; |
+ RefPtr<FrameView> frameView = ownerRenderer->frame()->view(); |
+ |
ASSERT(!m_inLayoutParentView); |
TemporarilyChange<bool> resetInLayoutParentView(m_inLayoutParentView, true); |
@@ -919,7 +921,6 @@ |
rootView->updateWidgetPositions(); |
// Synchronously enter layout, to layout the view containing the host object/embed/iframe. |
- FrameView* frameView = ownerRenderer->frame()->view(); |
ASSERT(frameView); |
frameView->layout(); |
#endif |