Bug 831768 - Delay async painting calls so that they never nest within RPC calls. The Adobe Flash implementation doesn't expect this reentry and sometimes deadlocks. The Apple Java stub doesn't expect this reentry and corrupts NPRuntime objects. r=gfritzsche

--HG--
extra : rebase_source : 4cf6c2cd28fbfdf259c3ed2250135810fb2511a7