mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
4cf43e2ca4
commit
95c67a9cea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user