diff options
| author | Ben Murdoch <benm@google.com> | 2010-07-22 18:23:32 +0100 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2010-07-27 10:20:28 +0100 |
| commit | cea38a7c6646b21ef450b7209040ed8d6a048724 (patch) | |
| tree | e178c35d2c49c05fcd6bb3048bf513e2a3603467 /WebCore | |
| parent | 71e31ef15beacd95ec56d79e58d031732847772a (diff) | |
| download | external_webkit-cea38a7c6646b21ef450b7209040ed8d6a048724.zip external_webkit-cea38a7c6646b21ef450b7209040ed8d6a048724.tar.gz external_webkit-cea38a7c6646b21ef450b7209040ed8d6a048724.tar.bz2 | |
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
Diffstat (limited to 'WebCore')
| -rw-r--r-- | WebCore/platform/graphics/android/PathAndroid.cpp | 7 |
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; |
