Wrap document loads with reflow lock calls

This commit is contained in:
kipp 1998-05-09 03:20:54 +00:00
Родитель 332e6e8030
Коммит 2381c5cb04
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

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