Bug 977723 - Remove two unused vars in accessible/. r=surkov

This commit is contained in:
Andrew McCreight 2014-02-28 09:11:38 -05:00
Родитель 4c70704894
Коммит 0d6f42491d
2 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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())