changeset 204:4dec1e56c677

Bug 689518 - error in pageloader causes talos + e10s to timeout in certain cases. r=bear
author Joel Maher <jmaher@mozilla.com>
date Tue, 27 Sep 2011 09:29:52 -0400
parents 24604ae471f8
children eaef28f55f92
files chrome/pageloader.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chrome/pageloader.js	Mon Sep 19 09:48:07 2011 -0400
+++ b/chrome/pageloader.js	Tue Sep 27 09:29:52 2011 -0400
@@ -583,7 +583,7 @@
     if (content.getAttribute("remote") == "true") {
       content.messageManager.removeMessageListener('PageLoader:Load', plLoadHandlerMessage);
       content.messageManager.removeMessageListener('PageLoader:RecordTime', plRecordTimeMessage);
-      if (MozAfterPaint)
+      if (useMozAfterPaint)
         content.messageManager.removeMessageListener('PageLoader:MozAfterPaint', plPaintHandler);
 
       content.messageManager.loadFrameScript("data:,removeEventListener('load', _contentLoadHandler, true);", false);