diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp index 8bb521a8ec7e..58a82bffbeb3 100644 --- a/content/html/document/src/nsHTMLContentSink.cpp +++ b/content/html/document/src/nsHTMLContentSink.cpp @@ -1918,7 +1918,7 @@ SinkContext::FlushTags(PRBool aNotify) #ifdef NS_DEBUG // Tracing code nsCOMPtr tag; - mStack[mStackPos].mContent->GetTag(*getter_AddRefs(tag)); + mStack[stackPos].mContent->GetTag(*getter_AddRefs(tag)); const PRUnichar* tagChar; tag->GetUnicode(&tagChar); nsDependentString str(tagChar);