NS_IMPL_QUERY_INTERFACE2(DummyLayoutRequest, nsIRequest, nsIChannel);
PresShell::QueryInterface(const nsIID& aIID, void** aInstancePtr) { if (!aInstancePtr) { return NS_ERROR_NULL_POINTER; }  if (aIID.Equals(NS_GET_IID(nsIPresShell))) { nsIPresShell* tmp = this; *aInstancePtr = (void*) tmp; } else if (aIID.Equals(NS_GET_IID(nsIDocumentObserver))) { nsIDocumentObserver* tmp = this; *aInstancePtr = (void*) tmp; } else if (aIID.Equals(NS_GET_IID(nsIViewObserver))) { nsIViewObserver* tmp = this; *aInstancePtr = (void*) tmp; } else if (aIID.Equals(NS_GET_IID(nsIFocusTracker))) { nsIFocusTracker* tmp = this; *aInstancePtr = (void*) tmp; } else if (aIID.Equals(NS_GET_IID(nsISelectionController))) { nsISelectionController* tmp = this; *aInstancePtr = (void*) tmp; } else if (aIID.Equals(NS_GET_IID(nsISupportsWeakReference))) { nsISupportsWeakReference* tmp = this; *aInstancePtr = (void*) tmp; } else if (aIID.Equals(NS_GET_IID(nsISupports))) { nsIPresShell* tmp = this; nsISupports* tmp2 = tmp; *aInstancePtr = (void*) tmp2; } else { *aInstancePtr = nsnull;  return NS_NOINTERFACE; }  NS_ADDREF_THIS();  return NS_OK; }
NS_IMPL_QUERY_INTERFACE2(DummyLayoutRequest, nsIRequest, nsIChannel);