RemoveDummyLayoutRequest();
nsCOMPtr<nsIEventQueue> eventQueue; mEventQueueService-> GetSpecialEventQueue(nsIEventQueueService::UI_THREAD_EVENT_QUEUE, getter_AddRefs(eventQueue)); if (!eventQueue) { return; }  DummyLayoutRequestEvent* evt = new DummyLayoutRequestEvent(this); if (!evt) { return; }  nsresult rv = eventQueue->PostEvent(evt); if (NS_FAILED(rv)) { PL_DestroyEvent(evt); }
PresShell::DoneRemovingReflowCommands(){  if (mRCCreatedDuringLoad == 0 && mDummyLayoutRequest && !mIsReflowing) {    RemoveDummyLayoutRequest();  }}