diff --git a/mozilla/content/html/document/src/nsImageDocument.cpp b/mozilla/content/html/document/src/nsImageDocument.cpp
index 4f0e137d27c..d923d9b9f5b 100644
--- a/mozilla/content/html/document/src/nsImageDocument.cpp
+++ b/mozilla/content/html/document/src/nsImageDocument.cpp
@@ -328,14 +328,8 @@ nsImageDocument::EndLayout(nsISupports *ctxt,
nsresult status,
const PRUnichar *errorMsg)
{
- // unused...
- ctxt;
- status;
- errorMsg;
-
- // title was being set here but this is never called...
- // (see UpdateTitle: work is done there now)
-
+ // We are being told to stop the layout (in the middle of image loading)
+ // - nothing to do here...
return NS_OK;
}
diff --git a/mozilla/layout/html/document/src/nsImageDocument.cpp b/mozilla/layout/html/document/src/nsImageDocument.cpp
index 4f0e137d27c..d923d9b9f5b 100644
--- a/mozilla/layout/html/document/src/nsImageDocument.cpp
+++ b/mozilla/layout/html/document/src/nsImageDocument.cpp
@@ -328,14 +328,8 @@ nsImageDocument::EndLayout(nsISupports *ctxt,
nsresult status,
const PRUnichar *errorMsg)
{
- // unused...
- ctxt;
- status;
- errorMsg;
-
- // title was being set here but this is never called...
- // (see UpdateTitle: work is done there now)
-
+ // We are being told to stop the layout (in the middle of image loading)
+ // - nothing to do here...
return NS_OK;
}