| Index: third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| diff --git a/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp b/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| index ecb5d7bca0f8caa79ad4686c9f0d1d2fc846845f..65401f06b1c01075bc1b60b188d6a0593e0c4d6e 100644
|
| --- a/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| @@ -117,7 +117,7 @@ static xmlDocPtr docLoaderFunc(
|
|
|
| // We don't specify an encoding here. Neither Gecko nor WinIE respects
|
| // the encoding specified in the HTTP headers.
|
| - SharedBuffer* data = resource->resourceBuffer();
|
| + RefPtr<SharedBuffer> data = resource->resourceBuffer();
|
| xmlDocPtr doc = data ? xmlReadMemory(data->data(), data->size(), (const char*)uri, 0, options) : nullptr;
|
|
|
| xmlSetStructuredErrorFunc(0, 0);
|
|
|