summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/android')
-rw-r--r--WebCore/platform/graphics/android/PathAndroid.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/PathAndroid.cpp b/WebCore/platform/graphics/android/PathAndroid.cpp
index f7f6b19..13bd888 100644
--- a/WebCore/platform/graphics/android/PathAndroid.cpp
+++ b/WebCore/platform/graphics/android/PathAndroid.cpp
@@ -75,6 +75,13 @@ bool Path::hasCurrentPoint() const
return m_path->getPoints(0, 0) > 0;
}
+FloatPoint Path::currentPoint() const
+{
+ // FIXME: Return current point of subpath. See b/2869593
+ float quietNaN = std::numeric_limits<float>::quiet_NaN();
+ return FloatPoint(quietNaN, quietNaN);
+}
+
bool Path::contains(const FloatPoint& point, WindRule rule) const
{
SkRegion rgn, clip;