mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 656244: Finish *all* remaining parsing in SVGDocumentWrapper::OnStopRequest. r=hsivonen
This commit is contained in:
parent
b83c1a79d8
commit
5beebd3d47
@ -301,7 +301,7 @@ SVGDocumentWrapper::OnStopRequest(nsIRequest* aRequest, nsISupports* ctxt,
|
||||
// finish parsing & layout in our helper-document to make sure we can hold
|
||||
// up to this promise.
|
||||
nsCOMPtr<nsIParser> parser = do_QueryInterface(mListener);
|
||||
if (!parser->IsComplete()) {
|
||||
while (!parser->IsComplete()) {
|
||||
parser->ContinueInterruptedParsing();
|
||||
}
|
||||
FlushLayout();
|
||||
|
Loading…
Reference in New Issue
Block a user