gecko-dev/layout
Masayuki Nakano 80bbd2acaf Bug 1376693 - part3: Make callers of nsPrintEngine::Print() and nsPrintEngine::PrintPreview() guarantee that instance of nsPrintEngine won't be deleted during the calls r=dholbert
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
2017-07-19 14:06:04 +09:00
..
base Bug 1376693 - part3: Make callers of nsPrintEngine::Print() and nsPrintEngine::PrintPreview() guarantee that instance of nsPrintEngine won't be deleted during the calls r=dholbert 2017-07-19 14:06:04 +09:00
build Bug 1367904 - Part 11: stylo: Use ServoStyleContext in ServoStyleSet/ServoRestyleManager; r=bholley 2017-07-17 21:00:54 -07:00
doc
forms Backed out changeset e4dc716c401c (bug 1377595) on suspicion of causing reftest failures on Android "(waiting for MozAfterPaint)". r=backout 2017-07-17 17:48:13 +02:00
generic Backed out 2 changesets (bug 1284888) for windows build failures in TextOverflow.h a=backout 2017-07-18 20:59:51 -07:00
inspector Bug 1337270 - Convert tests within layout/ to not rely on principal inheritance for data: URIs. r=smaug 2017-07-18 07:50:07 +02:00
ipc Bug 1379046: Use the correct LayerManager everywhere. r=kats 2017-07-06 19:46:59 -07:00
mathml Backed out changeset 14868b3c13e3 (bug 1373767) for android reftest failures in font-inflation-1.html a=backout CLOSED TREE 2017-07-18 22:40:00 -07:00
media
painting Backed out changeset e4dc716c401c (bug 1377595) on suspicion of causing reftest failures on Android "(waiting for MozAfterPaint)". r=backout 2017-07-17 17:48:13 +02:00
printing Bug 1376693 - part3: Make callers of nsPrintEngine::Print() and nsPrintEngine::PrintPreview() guarantee that instance of nsPrintEngine won't be deleted during the calls r=dholbert 2017-07-19 14:06:04 +09:00
reftests Bug 1377595 - Mark four tests as passing with webrender. 2017-07-17 13:49:22 +02:00
style Bug 1341102 - Update expectations a=bustage CLOSED TREE 2017-07-18 21:04:25 -07:00
svg Bug 1379464 - Enable context-paint for mozilla-created webextensions. r=heycam,kmag 2017-07-10 13:34:41 -04:00
tables Bug 1367904 - Part 11: stylo: Use ServoStyleContext in ServoStyleSet/ServoRestyleManager; r=bholley 2017-07-17 21:00:54 -07:00
tools Bug 1381091 - Don't restart the reftest suite if it finishes running all the tests. r=ahal 2017-07-18 13:10:29 -04:00
xul Bug 1337270 - Convert tests within layout/ to not rely on principal inheritance for data: URIs. r=smaug 2017-07-18 07:50:07 +02:00
moz.build