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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/PathAndroid.cpp b/WebCore/platform/graphics/android/PathAndroid.cpp
index 0eb1414..a643fc0 100644
--- a/WebCore/platform/graphics/android/PathAndroid.cpp
+++ b/WebCore/platform/graphics/android/PathAndroid.cpp
@@ -66,6 +66,11 @@ bool Path::isEmpty() const
return m_path->isEmpty();
}
+bool Path::hasCurrentPoint() const
+{
+ return !isEmpty();
+}
+
bool Path::contains(const FloatPoint& point, WindRule rule) const
{
SkRegion rgn, clip;