summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/GraphicsContext.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-04-28 14:52:32 -0400
committerDerek Sollenberger <djsollen@google.com>2011-04-28 14:52:32 -0400
commit909b5bb7002f48ae08c3c0157f5df3ee828e5d18 (patch)
treeab7bc4dfed9603e3e5c0d85fb99fd20049aa0f6d /WebCore/platform/graphics/GraphicsContext.cpp
parent019244a711e79fa2713a302f6a5583d6111b570e (diff)
downloadexternal_webkit-909b5bb7002f48ae08c3c0157f5df3ee828e5d18.zip
external_webkit-909b5bb7002f48ae08c3c0157f5df3ee828e5d18.tar.gz
external_webkit-909b5bb7002f48ae08c3c0157f5df3ee828e5d18.tar.bz2
Fix CSS shadows and provide better support for HTML5 Canvas shadows.
bug: 4347315 Change-Id: I78c86f7da6174984dae9ac3db21e9168857f651b
Diffstat (limited to 'WebCore/platform/graphics/GraphicsContext.cpp')
-rw-r--r--WebCore/platform/graphics/GraphicsContext.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/GraphicsContext.cpp b/WebCore/platform/graphics/GraphicsContext.cpp
index 52312a4..d80b365 100644
--- a/WebCore/platform/graphics/GraphicsContext.cpp
+++ b/WebCore/platform/graphics/GraphicsContext.cpp
@@ -288,6 +288,11 @@ void GraphicsContext::setShadowsIgnoreTransforms(bool ignoreTransforms)
m_common->state.shadowsIgnoreTransforms = ignoreTransforms;
}
+bool GraphicsContext::shadowsIgnoreTransforms() const
+{
+ return m_common->state.shadowsIgnoreTransforms;
+}
+
bool GraphicsContext::updatingControlTints() const
{
return m_common->m_updatingControlTints;