Chromium Code Reviews| Index: net/base/data_url.cc |
| diff --git a/net/base/data_url.cc b/net/base/data_url.cc |
| index 0ec345ea6dbf4f89ed5701e132109e6c7e411a41..2146755e8f056a8ff5b159abec08216a1473e996 100644 |
| --- a/net/base/data_url.cc |
| +++ b/net/base/data_url.cc |
| @@ -68,8 +68,6 @@ bool DataURL::Parse(const GURL& url, std::string* mime_type, |
| if (mime_type->empty()) { |
| // fallback to defaults if nothing specified in the URL: |
| mime_type->assign("text/plain"); |
| - } else if (!ParseMimeTypeWithoutParameter(*mime_type, NULL, NULL)) { |
|
asanka
2014/09/24 00:11:38
As mentioned elsewhere, it's still a bit worrisome
tyoshino (SeeGerritForStatus)
2014/09/24 05:43:29
Good point. It's been a while since I added this c
|
| - return false; |
| } |
| if (charset->empty()) |
| charset->assign("US-ASCII"); |