mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
80bbd2acaf
This patch makes callers of nsPrintEngine::Print() and nsPrintEngine::PrintPreview() grab the nsPrintEngine instance with local variable before calling them. That guarantees that instance of nPrintEngine won't be deleted during the calls. (We already had a RefPtr in CommonPrint that basically did this. This patch moves it out to the callers to strengthen its guarantee.) MozReview-Commit-ID: 2jlYC4RKAg6 --HG-- extra : rebase_source : e6eac8df88e1d81d67a879786a2403ca00e84036 |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |