Lines Matching refs:docShell
48 nsIDocShell* docShell = 0;
50 scriptGlobalObject->GetDocShell(&docShell);
52 if (docShell)
53 status=docShell->QueryInterface(NS_GET_IID(nsIWebShell), (void**)&webShell);
68 NS_IF_RELEASE(docShell);
83 nsIDocShell* docShell = 0;
84 scriptGlobalObject->GetDocShell(&docShell);
85 if (docShell) {
87 docShell->QueryInterface(NS_GET_IID(nsIWebShell), (void**)webShell);
102 NS_RELEASE(docShell);
116 nsCOMPtr<nsIDocShell> docShell;
118 scriptGlobalObject->GetDocShell(getter_AddRefs(docShell));
120 if (docShell)
121 webShell = do_QueryInterface(docShell);
143 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0);
145 if (docShell)
146 webShell=do_QueryInterface(docShell, &status);
219 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0);
220 if (docShell) {
221 nsCOMPtr<nsIWebShell> webShell = do_QueryInterface(docShell, &status);