зеркало из https://github.com/mozilla/gecko-dev.git
Wrap document loads with reflow lock calls
This commit is contained in:
Родитель
332e6e8030
Коммит
2381c5cb04
|
@ -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);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче