Wrap document loads with reflow lock calls

This commit is contained in:
kipp 1998-05-09 03:20:54 +00:00
parent 332e6e8030
commit 2381c5cb04

View File

@ -441,7 +441,9 @@ NS_IMETHODIMP WebWidgetImpl::LoadURL(const nsString& aURLSpec)
}
// Now load the document
mPresShell->EnterReflowLock();
doc->LoadURL(url);
mPresShell->ExitReflowLock();
NS_RELEASE(doc);