| Index: third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| diff --git a/third_party/WebKit/Source/modules/nfc/NFC.cpp b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| index 87fa30cbc5c1c6e710cf418c240726da319528ce..8f425e8fb7f944b31d6f96102910e21d73894096 100644
|
| --- a/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| +++ b/third_party/WebKit/Source/modules/nfc/NFC.cpp
|
| @@ -316,7 +316,8 @@ bool isValidTextRecord(const NFCRecord& record) {
|
| return false;
|
|
|
| if (record.hasMediaType() &&
|
| - !record.mediaType().startsWith(kPlainTextMimePrefix, TextCaseInsensitive))
|
| + !record.mediaType().startsWith(kPlainTextMimePrefix,
|
| + TextCaseUnicodeInsensitive))
|
| return false;
|
|
|
| return true;
|
| @@ -339,7 +340,7 @@ bool isValidJSONRecord(const NFCRecord& record) {
|
| return false;
|
|
|
| if (record.hasMediaType() &&
|
| - !record.mediaType().startsWith(kJsonMimePrefix, TextCaseInsensitive))
|
| + !record.mediaType().startsWith(kJsonMimePrefix, TextCaseASCIIInsensitive))
|
| return false;
|
|
|
| return true;
|
|
|