| Index: Source/core/inspector/InspectorResourceAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp
|
| index faf6365d908477e9d52761212891ca0b94b3a5d0..f881e4678ea0b623a974c3e025a4053e47570a19 100644
|
| --- a/Source/core/inspector/InspectorResourceAgent.cpp
|
| +++ b/Source/core/inspector/InspectorResourceAgent.cpp
|
| @@ -117,14 +117,11 @@ public:
|
| m_responseHeaders = response.httpHeaderFields();
|
| }
|
|
|
| - virtual void didReceiveData(const char* data, int dataLength) OVERRIDE
|
| + virtual void didReceiveData(const char* data, unsigned dataLength) OVERRIDE
|
| {
|
| if (!dataLength)
|
| return;
|
|
|
| - if (dataLength == -1)
|
| - dataLength = strlen(data);
|
| -
|
| m_responseText = m_responseText.concatenateWith(m_decoder->decode(data, dataLength));
|
| }
|
|
|
|
|