MOZ_TIMER_DEBUGLOG(("Start: nsHTMLContentSink::OpenContainer()\n")); MOZ_TIMER_START(mWatch); nsresult rv = NS_OK;  if (eHTMLTag_frameset == aNode.GetNodeType()) { rv = OpenFrameset(aNode);
FlushTextAndRelease();  SINK_TRACE_NODE(SINK_TRACE_CALLS, "SinkContext::OpenContainer", aNode, mStackPos, mSink);  nsresult rv; if (mStackPos + 1 > mStackSize) { rv = GrowStack(); if (NS_OK != rv) { return rv; }
HTMLContentSink::OpenContainer(const nsIParserNode& aNode){  MOZ_TIMER_DEBUGLOG(("Start: nsHTMLContentSink::OpenContainer()\n"));  MOZ_TIMER_START(mWatch);  nsresult rv = NS_OK;  // XXX work around parser bug  if (eHTMLTag_frameset == aNode.GetNodeType()) {    rv = OpenFrameset(aNode);  }  else {    rv = mCurrentContext->OpenContainer(aNode);  }  MOZ_TIMER_DEBUGLOG(("Stop: nsHTMLContentSink::OpenContainer()\n"));  MOZ_TIMER_STOP(mWatch);  return rv;}