| Index: Source/core/xml/XSLTProcessorLibxslt.cpp
|
| diff --git a/Source/core/xml/XSLTProcessorLibxslt.cpp b/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| index a2ee29434a3cd926d346d49621db6652f699a372..b62b7c3fb161b0dd14163578fa137d770e7ebf40 100644
|
| --- a/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| +++ b/Source/core/xml/XSLTProcessorLibxslt.cpp
|
| @@ -194,11 +194,10 @@ static const char** xsltParamArrayFromParameterMap(XSLTProcessor::ParameterMap&
|
|
|
| const char** parameterArray = static_cast<const char**>(fastMalloc(((parameters.size() * 2) + 1) * sizeof(char*)));
|
|
|
| - XSLTProcessor::ParameterMap::iterator end = parameters.end();
|
| unsigned index = 0;
|
| - for (XSLTProcessor::ParameterMap::iterator it = parameters.begin(); it != end; ++it) {
|
| - parameterArray[index++] = fastStrDup(it->key.utf8().data());
|
| - parameterArray[index++] = fastStrDup(it->value.utf8().data());
|
| + for (auto& parameter : parameters) {
|
| + parameterArray[index++] = fastStrDup(parameter.key.utf8().data());
|
| + parameterArray[index++] = fastStrDup(parameter.value.utf8().data());
|
| }
|
| parameterArray[index] = 0;
|
|
|
|
|