summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/GraphicsContext.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-03-19 13:10:25 -0700
committerJohn Reck <jreck@google.com>2012-03-23 13:24:43 -0700
commit5fc5e1f3883ecadd4fd00df28225a17d7d3a37e9 (patch)
tree15d283973e858fc589c7fbe4af34e27684194e94 /Source/WebCore/platform/graphics/GraphicsContext.h
parenta83257eb9d324048471edcf2974b54c20894a940 (diff)
downloadexternal_webkit-5fc5e1f3883ecadd4fd00df28225a17d7d3a37e9.zip
external_webkit-5fc5e1f3883ecadd4fd00df28225a17d7d3a37e9.tar.gz
external_webkit-5fc5e1f3883ecadd4fd00df28225a17d7d3a37e9.tar.bz2
Platform graphics refactor
Push the bulk of the work to PlatformGraphicsContext PlatformGraphicsContext does not depend on having a GraphicsContext Get ImageAndroid::drawPattern off of mCanvas Get BitmapImage::draw off of mCanvas Get WebFrameView off of mCanvas Cleanup GradientAndroid and remove mCanvas usage Change-Id: I3c8ad10c030cbc384436463e197ca1c0a69d34eb
Diffstat (limited to 'Source/WebCore/platform/graphics/GraphicsContext.h')
-rw-r--r--Source/WebCore/platform/graphics/GraphicsContext.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/WebCore/platform/graphics/GraphicsContext.h b/Source/WebCore/platform/graphics/GraphicsContext.h
index ed43cf0..5c60e98 100644
--- a/Source/WebCore/platform/graphics/GraphicsContext.h
+++ b/Source/WebCore/platform/graphics/GraphicsContext.h
@@ -287,8 +287,6 @@ namespace WebCore {
#endif
#if PLATFORM(ANDROID)
- // initialize a paint for bitmaps
- void setupBitmapPaint(SkPaint*);
// initialize a paint for filling
void setupFillPaint(SkPaint*);
// initialize a paint for stroking
@@ -301,10 +299,6 @@ namespace WebCore {
// returns true if there is a valid (non-transparent) stroke color
bool willStroke() const;
- // may return NULL, since we lazily allocate the path. This is the path
- // that is drawn by drawPath()
- const SkPath* getCurrPath() const;
-
/** platform-specific factory method to return a bitmap graphicscontext,
called by <canvas> when we need to draw offscreen. Caller is responsible for
deleting the context. Use drawOffscreenContext() to draw the context's image