зеркало из https://github.com/mozilla/gecko-dev.git
55356f4f83
This patch is mainly to make IdleTaskRunner reusable by nsHtml5TreeOpExecutor. The only necessary work to that purpose is to remove the dependency of sShuttingDown, which was a static variable in nsJSEnvironment.cpp. The idea is to have a "MayStopProcessing" as a callback for the consumer to return sShuttingDown. In addition to sShuttingDown, we use std::function<bool()> as the runner main callback type. MozReview-Commit-ID: FT2X1unSvPS --HG-- extra : rebase_source : 3fe2d4f597f53e9a90f3dc8d5009df04240534ba extra : intermediate-source : 41f6715c344ce26f7820cecb2544db8c50dca796 extra : source : 042f10937305e34245bdaf75dcb816db7738254e |
||
---|---|---|
.. | ||
expat | ||
html | ||
htmlparser | ||
xml | ||
moz.build | ||
nsCharsetSource.h |