зеркало из https://github.com/mozilla/gecko-dev.git
Bug 87860. Use GetElementsByTagNameNS() to pick up explicitly qualified tags. r=dbaron, sr=hyatt
This commit is contained in:
Родитель
8a89543e3d
Коммит
4ae03235e4
|
@ -2319,7 +2319,9 @@ nsOutlinerBodyFrame::EnsureColumns()
|
|||
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(parent));
|
||||
|
||||
nsCOMPtr<nsIDOMNodeList> cols;
|
||||
elt->GetElementsByTagName(NS_LITERAL_STRING("outlinercol"), getter_AddRefs(cols));
|
||||
elt->GetElementsByTagNameNS(NS_LITERAL_STRING("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"),
|
||||
NS_LITERAL_STRING("outlinercol"),
|
||||
getter_AddRefs(cols));
|
||||
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
mPresContext->GetShell(getter_AddRefs(shell));
|
||||
|
|
|
@ -2319,7 +2319,9 @@ nsOutlinerBodyFrame::EnsureColumns()
|
|||
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(parent));
|
||||
|
||||
nsCOMPtr<nsIDOMNodeList> cols;
|
||||
elt->GetElementsByTagName(NS_LITERAL_STRING("outlinercol"), getter_AddRefs(cols));
|
||||
elt->GetElementsByTagNameNS(NS_LITERAL_STRING("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"),
|
||||
NS_LITERAL_STRING("outlinercol"),
|
||||
getter_AddRefs(cols));
|
||||
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
mPresContext->GetShell(getter_AddRefs(shell));
|
||||
|
|
Загрузка…
Ссылка в новой задаче