зеркало из https://github.com/mozilla/gecko-dev.git
The correct version of the patch for bug 363198, this time.
This commit is contained in:
Родитель
1f1b745917
Коммит
f7b12367dd
|
@ -2586,7 +2586,7 @@ nsFrameSelection::GetFrameForNodeOffset(nsIContent *aNode,
|
|||
childIndex = aOffset;
|
||||
}
|
||||
|
||||
if (aOffset != 0 || numChildren != 0) {
|
||||
if (childIndex > 0 || numChildren > 0) {
|
||||
nsCOMPtr<nsIContent> childNode = theNode->GetChildAt(childIndex);
|
||||
|
||||
if (!childNode)
|
||||
|
|
Загрузка…
Ссылка в новой задаче