| Index: content/child/blink_platform_impl.cc
|
| diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
|
| index 25faab4b5b5a80c78133361e56a334c2725175dd..3eddca64784934c63093fcd7a5ccb1326adc65bc 100644
|
| --- a/content/child/blink_platform_impl.cc
|
| +++ b/content/child/blink_platform_impl.cc
|
| @@ -27,6 +27,7 @@
|
| #include "base/time/time.h"
|
| #include "blink/public/resources/grit/blink_image_resources.h"
|
| #include "blink/public/resources/grit/blink_resources.h"
|
| +#include "components/mime_util/mime_util.h"
|
| #include "components/scheduler/child/webthread_impl_for_worker_scheduler.h"
|
| #include "content/app/resources/grit/content_resources.h"
|
| #include "content/app/strings/grit/content_strings.h"
|
| @@ -484,8 +485,8 @@ WebData BlinkPlatformImpl::parseDataURL(const WebURL& url,
|
| WebString& mimetype_out,
|
| WebString& charset_out) {
|
| std::string mime_type, char_set, data;
|
| - if (net::DataURL::Parse(url, &mime_type, &char_set, &data)
|
| - && net::IsSupportedMimeType(mime_type)) {
|
| + if (net::DataURL::Parse(url, &mime_type, &char_set, &data) &&
|
| + mime_util::IsSupportedMimeType(mime_type)) {
|
| mimetype_out = WebString::fromUTF8(mime_type);
|
| charset_out = WebString::fromUTF8(char_set);
|
| return data;
|
|
|