diff options
author | Steve Block <steveblock@google.com> | 2010-02-05 14:27:46 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-02-15 10:49:50 +0000 |
commit | 5e2bc6953fe6923165b8a5d7679939693a1d58d6 (patch) | |
tree | 6ccb8c24bc2bf5e8f413e6cfae250b729b426631 /WebCore/platform/graphics/Pattern.cpp | |
parent | 4a00f4fccc3cb7e9996749a05631f5d7b9de756e (diff) | |
download | external_webkit-5e2bc6953fe6923165b8a5d7679939693a1d58d6.zip external_webkit-5e2bc6953fe6923165b8a5d7679939693a1d58d6.tar.gz external_webkit-5e2bc6953fe6923165b8a5d7679939693a1d58d6.tar.bz2 |
Merge webkit.org at r54340 : Initial merge by git
Change-Id: Ib489d2ff91186ea3652522e1d586e54416a2cf44
Diffstat (limited to 'WebCore/platform/graphics/Pattern.cpp')
-rw-r--r-- | WebCore/platform/graphics/Pattern.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/Pattern.cpp b/WebCore/platform/graphics/Pattern.cpp index d388bd7..3409d16 100644 --- a/WebCore/platform/graphics/Pattern.cpp +++ b/WebCore/platform/graphics/Pattern.cpp @@ -35,12 +35,32 @@ Pattern::Pattern(Image* image, bool repeatX, bool repeatY) : m_tileImage(image) , m_repeatX(repeatX) , m_repeatY(repeatY) +#if PLATFORM(SKIA) + , m_pattern(0) +#endif { ASSERT(image); } Pattern::~Pattern() { + platformDestroy(); } +void Pattern::setPatternSpaceTransform(const TransformationMatrix& patternSpaceTransformation) +{ + m_patternSpaceTransformation = patternSpaceTransformation; + setPlatformPatternSpaceTransform(); +} + +#if !PLATFORM(SKIA) +void Pattern::platformDestroy() +{ +} + +void Pattern::setPlatformPatternSpaceTransform() +{ +} +#endif + } |