Bug 1308104 - Replace PL_strchr with a safer Gecko string class or function layout/ r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D89327
This commit is contained in:
Nicklas Boman
2020-09-10 17:38:55 +00:00
parent e9a4451c5c
commit 914bd8a6e3
3 changed files with 3 additions and 3 deletions

View File

@@ -1404,7 +1404,7 @@ nsCSSFrameConstructor::nsCSSFrameConstructor(Document* aDocument,
if (flags) {
bool error = false;
for (;;) {
char* comma = PL_strchr(flags, ',');
char* comma = strchr(flags, ',');
if (comma) *comma = '\0';
bool found = false;