mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 694165: After receiving final data for SVG-as-an-image, when we synchronously finish parsing, cancel any continue events that the parser posts. r=hsivonen
This commit is contained in:
parent
a613d39bb5
commit
49b23abcc5
@ -302,6 +302,7 @@ SVGDocumentWrapper::OnStopRequest(nsIRequest* aRequest, nsISupports* ctxt,
|
||||
// up to this promise.
|
||||
nsCOMPtr<nsIParser> parser = do_QueryInterface(mListener);
|
||||
while (!parser->IsComplete()) {
|
||||
parser->CancelParsingEvents();
|
||||
parser->ContinueInterruptedParsing();
|
||||
}
|
||||
FlushLayout();
|
||||
|
Loading…
Reference in New Issue
Block a user