diff -rupN qtwebkit-opensource-src-5.7.1/Source/WebCore/rendering/RenderText.cpp qtwebkit-opensource-src-5.7.1-new/Source/WebCore/rendering/RenderText.cpp
--- qtwebkit-opensource-src-5.7.1/Source/WebCore/rendering/RenderText.cpp 2016-10-14 21:28:46.000000000 +0200
+++ qtwebkit-opensource-src-5.7.1-new/Source/WebCore/rendering/RenderText.cpp 2017-02-03 01:35:24.604690333 +0100
@@ -126,7 +126,7 @@ static void makeCapitalized(String* stri
int32_t startOfWord = textBreakFirst(boundary);
for (endOfWord = textBreakNext(boundary); endOfWord != TextBreakDone; startOfWord = endOfWord, endOfWord = textBreakNext(boundary)) {
if (startOfWord) // Ignore first char of previous string
- result.append(stringImpl[startOfWord - 1] == noBreakSpace ? noBreakSpace : toTitleCase(stringWithPrevious[startOfWord]));
+ result.append(UChar(stringImpl[startOfWord - 1] == noBreakSpace ? noBreakSpace : toTitleCase(stringWithPrevious[startOfWord])));
for (int i = startOfWord + 1; i < endOfWord; i++)
result.append(stringImpl[i - 1]);
}
diff -rupN qtwebkit-opensource-src-5.7.1/Source/WTF/wtf/Atomics.h qtwebkit-opensource-src-5.7.1-new/Source/WTF/wtf/Atomics.h
--- qtwebkit-opensource-src-5.7.1/Source/WTF/wtf/Atomics.h 2016-10-14 21:28:46.000000000 +0200
+++ qtwebkit-opensource-src-5.7.1-new/Source/WTF/wtf/Atomics.h 2017-02-03 01:35:47.516653673 +0100
@@ -68,6 +68,8 @@
#elif !COMPILER(GCC)
extern "C" void _ReadWriteBarrier(void);
#pragma intrinsic(_ReadWriteBarrier)
+#else
+#include <intrin.h>
#endif
#include <windows.h>
#elif OS(QNX)