Index: Source/core/platform/graphics/LayoutPoint.h |
diff --git a/Source/core/platform/graphics/LayoutPoint.h b/Source/core/platform/graphics/LayoutPoint.h |
index e5de27cfe7a127a6c6e937ccadeaff9fa6616581..15b8b2a81c487f290e09f1ec09ee2ff53d981013 100644 |
--- a/Source/core/platform/graphics/LayoutPoint.h |
+++ b/Source/core/platform/graphics/LayoutPoint.h |
@@ -82,6 +82,11 @@ public: |
return LayoutPoint(m_y, m_x); |
} |
+ LayoutPoint fraction() const |
+ { |
+ return LayoutPoint(m_x.fraction(), m_y.fraction()); |
+ } |
+ |
private: |
LayoutUnit m_x, m_y; |
}; |