summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/PlatformGraphicsContext.cpp
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2009-04-28 17:17:42 -0400
committerCary Clark <cary@android.com>2009-04-28 17:34:39 -0400
commit156d9de035224a88b7848c553b1839a49f004e6c (patch)
tree25f452123309502483d295f6acd7d2c76b391a5f /WebCore/platform/graphics/android/PlatformGraphicsContext.cpp
parent0296aca4034b6c5c6509ad09d0144405f44c4ba1 (diff)
downloadexternal_webkit-156d9de035224a88b7848c553b1839a49f004e6c.zip
external_webkit-156d9de035224a88b7848c553b1839a49f004e6c.tar.gz
external_webkit-156d9de035224a88b7848c553b1839a49f004e6c.tar.bz2
fix line dashing and patterns in svg
remove unused methods in PlatformGraphicsContext.h make PlatformGraphicsContext constructors more similar set local matrix in pattern set dash path effect in graphics context
Diffstat (limited to 'WebCore/platform/graphics/android/PlatformGraphicsContext.cpp')
-rw-r--r--WebCore/platform/graphics/android/PlatformGraphicsContext.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/WebCore/platform/graphics/android/PlatformGraphicsContext.cpp b/WebCore/platform/graphics/android/PlatformGraphicsContext.cpp
index b13f45f..e0aecfa 100644
--- a/WebCore/platform/graphics/android/PlatformGraphicsContext.cpp
+++ b/WebCore/platform/graphics/android/PlatformGraphicsContext.cpp
@@ -35,12 +35,9 @@ PlatformGraphicsContext::PlatformGraphicsContext(SkCanvas* canvas, WTF::Vector<C
{
}
-PlatformGraphicsContext::PlatformGraphicsContext() : m_deleteCanvas(true)
+PlatformGraphicsContext::PlatformGraphicsContext()
+ : mCanvas(new SkCanvas), m_deleteCanvas(true), m_buttons(0)
{
- mCanvas = new SkCanvas;
- // Since this is our own private SkCanvas, and has no relation to a picture
- // storing button references would be meaningless.
- m_buttons = NULL;
}
PlatformGraphicsContext::~PlatformGraphicsContext()