diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp
index 0ae9fc60a1d0..0ea1e073a2e1 100644
--- a/content/html/document/src/nsHTMLContentSink.cpp
+++ b/content/html/document/src/nsHTMLContentSink.cpp
@@ -22,7 +22,7 @@
#include "nsIHTMLContent.h"
#include "nsIURL.h"
#include "nsIURLGroup.h"
-#include "nsIHttpUrl.h"
+#include "nsIHttpURL.h"
#include "nsHTMLDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
diff --git a/layout/html/document/src/nsHTMLContentSink.cpp b/layout/html/document/src/nsHTMLContentSink.cpp
index 0ae9fc60a1d0..0ea1e073a2e1 100644
--- a/layout/html/document/src/nsHTMLContentSink.cpp
+++ b/layout/html/document/src/nsHTMLContentSink.cpp
@@ -22,7 +22,7 @@
#include "nsIHTMLContent.h"
#include "nsIURL.h"
#include "nsIURLGroup.h"
-#include "nsIHttpUrl.h"
+#include "nsIHttpURL.h"
#include "nsHTMLDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"