зеркало из https://github.com/mozilla/pjs.git
Comment-removal, part of the patch for bug 186835.
This commit is contained in:
Родитель
c3f2539e0c
Коммит
4c40cf1b37
|
@ -484,11 +484,6 @@ void txMozillaXMLOutput::startHTMLElement(nsIDOMElement* aElement)
|
||||||
nsCOMPtr<nsIStyleSheetLinkingElement> ssle =
|
nsCOMPtr<nsIStyleSheetLinkingElement> ssle =
|
||||||
do_QueryInterface(aElement);
|
do_QueryInterface(aElement);
|
||||||
if (ssle) {
|
if (ssle) {
|
||||||
// XXX Trick nsCSSLoader into blocking/notifying us?
|
|
||||||
// We would need to implement nsIParser and
|
|
||||||
// pass ourselves as first parameter to
|
|
||||||
// InitStyleLinkElement. We would then be notified
|
|
||||||
// of stylesheet loads/load failures.
|
|
||||||
ssle->InitStyleLinkElement(nsnull, PR_FALSE);
|
ssle->InitStyleLinkElement(nsnull, PR_FALSE);
|
||||||
ssle->SetEnableUpdates(PR_FALSE);
|
ssle->SetEnableUpdates(PR_FALSE);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче