Bug 1188539 - Remove the deprecated TouchList::identifiedTouch method; r=jst

MozReview-Commit-ID: Gvsky55K19X

--HG--
extra : rebase_source : 24e3fcd07d95f5dd5c9e4963c2d4f7f25f0b5aa4
extra : amend_source : d827583c99917113662368d51e1204c07987099e
This commit is contained in:
Aaron Raimist 2015-08-12 20:57:58 -05:00
parent 49438ee761
commit ae1acee3f0
3 changed files with 0 additions and 18 deletions

View File

@ -43,18 +43,6 @@ TouchList::PrefEnabled(JSContext* aCx, JSObject* aGlobal)
return TouchEvent::PrefEnabled(aCx, aGlobal);
}
Touch*
TouchList::IdentifiedTouch(int32_t aIdentifier) const
{
for (uint32_t i = 0; i < mPoints.Length(); ++i) {
Touch* point = mPoints[i];
if (point && point->Identifier() == aIdentifier) {
return point;
}
}
return nullptr;
}
/******************************************************************************
* TouchEvent
*****************************************************************************/

View File

@ -71,7 +71,6 @@ public:
}
return mPoints[aIndex];
}
Touch* IdentifiedTouch(int32_t aIdentifier) const;
protected:
~TouchList() {}

View File

@ -16,8 +16,3 @@ interface TouchList {
readonly attribute unsigned long length;
getter Touch? item(unsigned long index);
};
/* Mozilla extension. */
partial interface TouchList {
Touch? identifiedTouch(long identifier);
};