| Index: Source/core/platform/MIMETypeFromURL.cpp
|
| diff --git a/Source/core/platform/MIMETypeFromURL.cpp b/Source/core/platform/MIMETypeFromURL.cpp
|
| index 3af401c9d8bcf022744b6ba7afac226d5a8a42d1..74dba93ede225897498291bb8d28c43447409d50 100644
|
| --- a/Source/core/platform/MIMETypeFromURL.cpp
|
| +++ b/Source/core/platform/MIMETypeFromURL.cpp
|
| @@ -37,9 +37,9 @@ String mimeTypeFromDataURL(const String& url)
|
| {
|
| ASSERT(protocolIs(url, "data"));
|
| size_t index = url.find(';');
|
| - if (index == notFound)
|
| + if (index == kNotFound)
|
| index = url.find(',');
|
| - if (index != notFound) {
|
| + if (index != kNotFound) {
|
| if (index > 5)
|
| return url.substring(5, index - 5).lower();
|
| return "text/plain"; // Data URLs with no MIME type are considered text/plain.
|
|
|