diff options
author | Cary Clark <cary@android.com> | 2009-04-15 17:34:20 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2009-04-15 17:34:20 -0400 |
commit | bb29c0f2f85d4f4bba314b554f572f762c0a412d (patch) | |
tree | 2fd291a1b40cf71fabbeef7e27d055206064c187 /WebCore/platform/graphics/android | |
parent | 467bf1c41ef2c6d84dc533fbc0718c6d97a78582 (diff) | |
download | external_webkit-bb29c0f2f85d4f4bba314b554f572f762c0a412d.zip external_webkit-bb29c0f2f85d4f4bba314b554f572f762c0a412d.tar.gz external_webkit-bb29c0f2f85d4f4bba314b554f572f762c0a412d.tar.bz2 |
fix svg bugs
fix svg make; (feng's recent webkit merge included a
file that no longer exists)
draw stroked paths
add support for image/svg+xml
Diffstat (limited to 'WebCore/platform/graphics/android')
-rw-r--r-- | WebCore/platform/graphics/android/GraphicsContextAndroid.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp b/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp index 7571926..8800699 100644 --- a/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp +++ b/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp @@ -1100,12 +1100,6 @@ void GraphicsContext::addPath(const Path& p) m_data->addPath(*p.platformPath()); } -void GraphicsContext::drawPath() -{ - this->fillPath(); - this->strokePath(); -} - void GraphicsContext::fillPath() { SkPath* path = m_data->getPath(); @@ -1134,7 +1128,7 @@ void GraphicsContext::fillPath() void GraphicsContext::strokePath() { const SkPath* path = m_data->getPath(); - if (paintingDisabled() || !path || strokeStyle() == NoStroke) + if (paintingDisabled() || !path) return; SkPaint paint; |