| Index: Source/platform/LayoutUnit.h
|
| diff --git a/Source/platform/LayoutUnit.h b/Source/platform/LayoutUnit.h
|
| index 95e33a16dc1cd9bab3d9f2c16663103960e89de2..711042b69eb9fdad07d3381e0a67608be1c539e9 100644
|
| --- a/Source/platform/LayoutUnit.h
|
| +++ b/Source/platform/LayoutUnit.h
|
| @@ -170,6 +170,13 @@ public:
|
|
|
| static float epsilon() { return 1.0f / kFixedPointDenominator; }
|
|
|
| + static const LayoutUnit epsilonUnit()
|
| + {
|
| + LayoutUnit m;
|
| + m.m_value = 1;
|
| + return m;
|
| + }
|
| +
|
| static const LayoutUnit max()
|
| {
|
| LayoutUnit m;
|
|
|