зеркало из https://github.com/mozilla/gecko-dev.git
Родитель
11eba1b01f
Коммит
b05b31f948
|
@ -531,6 +531,10 @@ nsOutlinerBodyFrame::SetFocused(PRBool aFocused)
|
|||
NS_IMETHODIMP
|
||||
nsOutlinerBodyFrame::GetOutlinerBody(nsIDOMElement** aElement)
|
||||
{
|
||||
NS_ASSERTION(mContent, "no content, see bug #104878");
|
||||
if (!mContent)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
return mContent->QueryInterface(NS_GET_IID(nsIDOMElement), (void**)aElement);
|
||||
}
|
||||
|
||||
|
|
|
@ -531,6 +531,10 @@ nsOutlinerBodyFrame::SetFocused(PRBool aFocused)
|
|||
NS_IMETHODIMP
|
||||
nsOutlinerBodyFrame::GetOutlinerBody(nsIDOMElement** aElement)
|
||||
{
|
||||
NS_ASSERTION(mContent, "no content, see bug #104878");
|
||||
if (!mContent)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
return mContent->QueryInterface(NS_GET_IID(nsIDOMElement), (void**)aElement);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче