From cea38a7c6646b21ef450b7209040ed8d6a048724 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Thu, 22 Jul 2010 18:23:32 +0100 Subject: Merge Webkit at r63859 : New method Path::currentPoint added, stub it out on Android. See http://trac.webkit.org/changeset/63599 See b/2869593 Change-Id: Ib7c8fda4a9bf62d470a4fa63823fa0951b5974ea --- WebCore/platform/graphics/android/PathAndroid.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'WebCore') 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::quiet_NaN(); + return FloatPoint(quietNaN, quietNaN); +} + bool Path::contains(const FloatPoint& point, WindRule rule) const { SkRegion rgn, clip; -- cgit v1.1