| Index: components/html_viewer/blink_platform_impl.cc
|
| diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc
|
| index 4f71823663be9dcc6185f4a785c38b9442af4c2a..05e2e51d5387a460521d11d14719ac119b138280 100644
|
| --- a/components/html_viewer/blink_platform_impl.cc
|
| +++ b/components/html_viewer/blink_platform_impl.cc
|
| @@ -19,8 +19,8 @@
|
| #include "components/html_viewer/web_socket_handle_impl.h"
|
| #include "components/html_viewer/web_thread_impl.h"
|
| #include "components/html_viewer/web_url_loader_impl.h"
|
| +#include "components/mime_util/mime_util.h"
|
| #include "net/base/data_url.h"
|
| -#include "net/base/mime_util.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/net_util.h"
|
| #include "third_party/WebKit/public/platform/WebWaitableEvent.h"
|
| @@ -229,8 +229,8 @@ blink::WebData BlinkPlatformImpl::parseDataURL(
|
| blink::WebString& mimetype_out,
|
| blink::WebString& charset_out) {
|
| std::string mimetype, charset, data;
|
| - if (net::DataURL::Parse(url, &mimetype, &charset, &data)
|
| - && net::IsSupportedMimeType(mimetype)) {
|
| + if (net::DataURL::Parse(url, &mimetype, &charset, &data) &&
|
| + mime_util::IsSupportedMimeType(mimetype)) {
|
| mimetype_out = blink::WebString::fromUTF8(mimetype);
|
| charset_out = blink::WebString::fromUTF8(charset);
|
| return data;
|
|
|