diff --git a/parser/html/nsHtml5StreamParser.cpp b/parser/html/nsHtml5StreamParser.cpp
index 1b83dff4bba9..19a6134032d6 100644
--- a/parser/html/nsHtml5StreamParser.cpp
+++ b/parser/html/nsHtml5StreamParser.cpp
@@ -1365,7 +1365,8 @@ nsresult nsHtml5StreamParser::OnDataAvailable(nsIRequest* aRequest,
return rv;
}
-/* static */ nsresult nsHtml5StreamParser::CopySegmentsToParser(
+/* static */
+nsresult nsHtml5StreamParser::CopySegmentsToParser(
nsIInputStream* aInStream, void* aClosure, const char* aFromSegment,
uint32_t aToOffset, uint32_t aCount, uint32_t* aWriteCount) {
nsHtml5StreamParser* parser = static_cast(aClosure);