зеркало из https://github.com/mozilla/pjs.git
Removing the last (unnecessary) call to nsIHTMLContent::ToHTMLString that I missed in my first checkin. r=jag
This commit is contained in:
Родитель
e600425247
Коммит
6af210070c
|
@ -4142,15 +4142,7 @@ NS_IMETHODIMP mozXMLTermSession::ToHTMLString(nsIDOMNode* aNode,
|
|||
|
||||
if (domText) {
|
||||
// Text node
|
||||
nsCOMPtr<nsIHTMLContent> htmlContent ( do_QueryInterface(aNode) );
|
||||
|
||||
if (htmlContent) {
|
||||
htmlContent->ToHTMLString(htmlString);
|
||||
XMLT_LOG(mozXMLTermSession::ToHTMLString,82,("htmlContent\n"));
|
||||
} else {
|
||||
domText->GetData(htmlString);
|
||||
}
|
||||
|
||||
domText->GetData(htmlString);
|
||||
} else {
|
||||
nsCOMPtr<nsIDOMElement> domElement = do_QueryInterface(aNode);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче