Use a checked pointer rather than a raw pointer in one place in the JSON parser. r=trivial

--HG--
extra : rebase_source : 60bf8c5ac1e9e7294d4b9d6b5fd7807517c9b541
This commit is contained in:
Jeff Walden 2011-05-16 11:43:39 -07:00
parent 4cf43e2ca4
commit 95c67a9cea

View File

@ -382,7 +382,7 @@ JSONParser::advanceAfterObjectOpen()
}
static inline void
AssertPastValue(const jschar *current)
AssertPastValue(const RangeCheckedPointer<const jschar> current)
{
/*
* We're past an arbitrary JSON value, so the previous character is