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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user