rv = DummyLayoutRequest::Create(getter_AddRefs(mDummyLayoutRequest));
rv = DummyLayoutRequest::Create(getter_AddRefs(mDummyLayoutRequest), this);
PresShell::AddDummyLayoutRequest(void){   nsresult rv = NS_OK;  if (gAsyncReflowDuringDocLoad) {    rv = DummyLayoutRequest::Create(getter_AddRefs(mDummyLayoutRequest));    if (NS_FAILED(rv)) return rv;    nsCOMPtr<nsILoadGroup> loadGroup;    if (mDocument) {      rv = mDocument->GetDocumentLoadGroup(getter_AddRefs(loadGroup));      if (NS_FAILED(rv)) return rv;    }    if (loadGroup) {      rv = mDummyLayoutRequest->SetLoadGroup(loadGroup);      if (NS_FAILED(rv)) return rv;      rv = loadGroup->AddChannel(mDummyLayoutRequest, nsnull);      if (NS_FAILED(rv)) return rv;    }#ifdef DEBUG_nisheeth    printf("presshell=%p, Added dummy layout request.\n", this);#endif  }  return rv;}