| Index: mojo/services/html_viewer/blink_platform_impl.cc
|
| diff --git a/mojo/services/html_viewer/blink_platform_impl.cc b/mojo/services/html_viewer/blink_platform_impl.cc
|
| index bf920d7979d6ab362a29d43e1beef4ae1533b11b..048fdfeb826e20215f2af487639499d6faa5572a 100644
|
| --- a/mojo/services/html_viewer/blink_platform_impl.cc
|
| +++ b/mojo/services/html_viewer/blink_platform_impl.cc
|
| @@ -157,10 +157,10 @@ blink::WebData BlinkPlatformImpl::loadResource(const char* resource) {
|
| for (size_t i = 0; i < arraysize(kDataResources); ++i) {
|
| if (!strcmp(resource, kDataResources[i].name)) {
|
| int length;
|
| - const char* data =
|
| + const unsigned char* data =
|
| blink_resource_map_.GetResource(kDataResources[i].id, &length);
|
| CHECK(data != nullptr && length > 0);
|
| - return blink::WebData(data, length);
|
| + return blink::WebData(reinterpret_cast<const char*>(data), length);
|
| }
|
| }
|
| NOTREACHED() << "Requested resource is unavailable: " << resource;
|
|
|