--- third_party/WebKit/Source/wtf/DateMath.cpp.orig 2013-11-08 07:50:10.000000000 +0100 +++ third_party/WebKit/Source/wtf/DateMath.cpp 2013-11-15 12:55:05.000000000 +0100 @@ -80,6 +80,7 @@ #include "StringExtras.h" #include +#include #include #include #include @@ -785,7 +786,7 @@ return std::numeric_limits::quiet_NaN(); int sgn = (o < 0) ? -1 : 1; - o = abs(o); + o = std::abs(o); if (*dateString != ':') { if (o >= 24) offset = ((o / 100) * 60 + (o % 100)) * sgn; @@ -874,7 +875,7 @@ stringBuilder.append(' '); stringBuilder.append(utcOffset > 0 ? '+' : '-'); - int absoluteUTCOffset = abs(utcOffset); + int absoluteUTCOffset = std::abs(utcOffset); stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset / 60)); stringBuilder.append(twoDigitStringFromNumber(absoluteUTCOffset % 60));