diff --git a/content/base/public/nsIHTMLToTextSink.h b/content/base/public/nsIHTMLToTextSink.h
index 2b32c0f61961..13c7c9d6dae7 100644
--- a/content/base/public/nsIHTMLToTextSink.h
+++ b/content/base/public/nsIHTMLToTextSink.h
@@ -39,7 +39,7 @@
#define _nsIPlainTextSink_h__
#include "nsISupports.h"
-#include "nsAString.h"
+#include "nsStringGlue.h"
#define NS_PLAINTEXTSINK_CONTRACTID "@mozilla.org/layout/plaintextsink;1"