Index: Source/WebCore/loader/SubframeLoader.cpp |
=================================================================== |
--- Source/WebCore/loader/SubframeLoader.cpp (revision 107313) |
+++ Source/WebCore/loader/SubframeLoader.cpp (working copy) |
@@ -244,6 +244,8 @@ |
Frame* SubframeLoader::loadSubframe(HTMLFrameOwnerElement* ownerElement, const KURL& url, const String& name, const String& referrer) |
{ |
+ RefPtr<Frame> protect(m_frame); |
+ |
bool allowsScrolling = true; |
int marginWidth = -1; |
int marginHeight = -1; |