зеркало из https://github.com/mozilla/gecko-dev.git
Bug 977723 - Remove two unused vars in accessible/. r=surkov
This commit is contained in:
Родитель
4c70704894
Коммит
0d6f42491d
|
@ -933,7 +933,6 @@ Accessible::GetBoundsRect(nsRect& aTotalBounds, nsIFrame** aBoundingFrame)
|
|||
if (canvasFrame) {
|
||||
*aBoundingFrame = canvasFrame;
|
||||
|
||||
nsPresContext* presContext = mDoc->PresContext();
|
||||
aTotalBounds = *hitRegionRect;
|
||||
|
||||
return;
|
||||
|
|
|
@ -1791,7 +1791,6 @@ HyperTextAccessible::GetSpellTextAttribute(nsINode* aNode,
|
|||
return NS_OK;
|
||||
|
||||
int32_t startHTOffset = 0, endHTOffset = 0;
|
||||
nsresult rv = NS_OK;
|
||||
for (int32_t idx = 0; idx < rangeCount; idx++) {
|
||||
nsRange* range = domSel->GetRangeAt(idx);
|
||||
if (range->Collapsed())
|
||||
|
|
Загрузка…
Ссылка в новой задаче