diff --git a/mozilla/content/html/document/src/nsHTMLDocument.cpp b/mozilla/content/html/document/src/nsHTMLDocument.cpp
index 17c8335a5de..e4cce9284f9 100644
--- a/mozilla/content/html/document/src/nsHTMLDocument.cpp
+++ b/mozilla/content/html/document/src/nsHTMLDocument.cpp
@@ -603,7 +603,7 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
webShell->QueryInterface(
nsIWebShellServices::GetIID(),(void**) &wss)))
{
- rv_detect = adp->Init(wss, cdet);
+ rv_detect = adp->Init(wss, cdet, aCommand);
}
}
}
diff --git a/mozilla/layout/html/document/src/nsHTMLDocument.cpp b/mozilla/layout/html/document/src/nsHTMLDocument.cpp
index 17c8335a5de..e4cce9284f9 100644
--- a/mozilla/layout/html/document/src/nsHTMLDocument.cpp
+++ b/mozilla/layout/html/document/src/nsHTMLDocument.cpp
@@ -603,7 +603,7 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
webShell->QueryInterface(
nsIWebShellServices::GetIID(),(void**) &wss)))
{
- rv_detect = adp->Init(wss, cdet);
+ rv_detect = adp->Init(wss, cdet, aCommand);
}
}
}