| Index: third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h b/third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h
|
| index a6f60a45095f68d054051501e960cd1aa84bc575..8e860c5d72147800ddbac6ea2ead012304892a74 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h
|
| @@ -540,7 +540,7 @@ private:
|
| if (m_position >= m_length)
|
| return false;
|
| currentByte = m_buffer[m_position++];
|
| - *value |= ((currentByte & SerializedScriptValue::varIntMask) << shift);
|
| + *value |= (static_cast<T>(currentByte & SerializedScriptValue::varIntMask) << shift);
|
| shift += SerializedScriptValue::varIntShift;
|
| } while (currentByte & (1 << SerializedScriptValue::varIntShift));
|
| return true;
|
|
|