| Index: third_party/WebKit/Source/core/fetch/TextResource.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/TextResource.cpp b/third_party/WebKit/Source/core/fetch/TextResource.cpp
|
| index c8bc894a48703ab7ced74a729eaafb17477d5352..e651c6adcb62898f8d994b16410fc4849dd38dbd 100644
|
| --- a/third_party/WebKit/Source/core/fetch/TextResource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/TextResource.cpp
|
| @@ -36,8 +36,8 @@ String TextResource::decodedText() const
|
|
|
| StringBuilder builder;
|
| const char* data;
|
| - unsigned position = 0;
|
| - while (unsigned length = m_data->getSomeData(data, position)) {
|
| + size_t position = 0;
|
| + while (size_t length = m_data->getSomeData(data, position)) {
|
| builder.append(m_decoder->decode(data, length));
|
| position += length;
|
| }
|
|
|