| Index: third_party/WebKit/Source/platform/LayoutUnit.h
|
| diff --git a/third_party/WebKit/Source/platform/LayoutUnit.h b/third_party/WebKit/Source/platform/LayoutUnit.h
|
| index 16677770cb0f7be5762cf5721fd9ef0027c4a294..f3ee505b5d867fcf8f963b4553a228f68f4c7b9c 100644
|
| --- a/third_party/WebKit/Source/platform/LayoutUnit.h
|
| +++ b/third_party/WebKit/Source/platform/LayoutUnit.h
|
| @@ -808,6 +808,14 @@ inline LayoutUnit clampToLayoutUnit(LayoutUnit value, LayoutUnit min, LayoutUnit
|
|
|
| inline std::ostream& operator<<(std::ostream& stream, const LayoutUnit& value)
|
| {
|
| + if (value == LayoutUnit::max())
|
| + return stream << "LayoutUnit::max(" << value.toDouble() << ")";
|
| + if (value == LayoutUnit::min())
|
| + return stream << "LayoutUnit::min(" << value.toDouble() << ")";
|
| + if (value == LayoutUnit::nearlyMax())
|
| + return stream << "LayoutUnit::nearlyMax(" << value.toDouble() << ")";
|
| + if (value == LayoutUnit::nearlyMin())
|
| + return stream << "LayoutUnit::nearlyMin(" << value.toDouble() << ")";
|
| return stream << value.toDouble();
|
| }
|
|
|
|
|