MOZ_TIMER_DEBUGLOG(("Start: nsHTMLContentSink::CloseContainer()\n")); MOZ_TIMER_START(mWatch); nsresult rv = NS_OK;  if (eHTMLTag_frameset == aNode.GetNodeType()) { MOZ_TIMER_DEBUGLOG(("Stop: nsHTMLContentSink::CloseContainer()\n")); MOZ_TIMER_STOP(mWatch); return CloseFrameset(aNode);
nsresult result = NS_OK;    FlushTextAndRelease();  SINK_TRACE_NODE(SINK_TRACE_CALLS, "SinkContext::CloseContainer", aNode, mStackPos-1, mSink);  NS_WARN_IF_FALSE(mStackPos > 0,"stack out of bounds. wrong context probably!");  if(mStackPos<=0) { return NS_OK;
HTMLContentSink::CloseContainer(const nsIParserNode& aNode){  MOZ_TIMER_DEBUGLOG(("Start: nsHTMLContentSink::CloseContainer()\n"));  MOZ_TIMER_START(mWatch);  nsresult rv = NS_OK;  // XXX work around parser bug  if (eHTMLTag_frameset == aNode.GetNodeType()) {    MOZ_TIMER_DEBUGLOG(("Stop: nsHTMLContentSink::CloseContainer()\n"));    MOZ_TIMER_STOP(mWatch);    return CloseFrameset(aNode);  }  rv = mCurrentContext->CloseContainer(aNode);  MOZ_TIMER_DEBUGLOG(("Stop: nsHTMLContentSink::CloseContainer()\n"));  MOZ_TIMER_STOP(mWatch);  return rv;}