mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Wrap document loads with reflow lock calls
This commit is contained in:
parent
332e6e8030
commit
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user