--- webkitgtk-2.48.1.old/Source/WebCore/rendering/RenderBox.h +++ webkitgtk-2.48.1/Source/WebCore/rendering/RenderBox.h @@ -698,7 +698,7 @@ void computePreferredLogicalWidths(const Length& minLogicalWidth, const Length& maxLogicalWidth, LayoutUnit borderAndPaddingLogicalWidth); - bool isAspectRatioDegenerate(double aspectRatio) const { return !aspectRatio || isnan(aspectRatio); } + bool isAspectRatioDegenerate(double aspectRatio) const { return !aspectRatio || std::isnan(aspectRatio); } bool overflowChangesMayAffectLayout() const final; --- webkitgtk-2.48.1.old/Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp +++ webkitgtk-2.48.1/Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp @@ -137,7 +137,7 @@ auto margin = [&] { auto shapeMargin = floatValueForLength(style.shapeMargin(), containingBlock.contentBoxWidth()); - return isnan(shapeMargin) ? 0.0f : shapeMargin; + return std::isnan(shapeMargin) ? 0.0f : shapeMargin; }();