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 4fc8a9d5857946f36a8afa3f3ba51b291acc2051..7e81480d9b422b07626ee698f815a64c1945998a 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. |
- RefPtr<SharedBuffer> data = resource->resourceBuffer(); |
+ RefPtr<const SharedBuffer> data = resource->resourceBuffer(); |
xmlDocPtr doc = data ? xmlReadMemory(data->data(), data->size(), (const char*)uri, 0, options) : nullptr; |
xmlSetStructuredErrorFunc(0, 0); |