summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/chromium/LinkHighlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/chromium/LinkHighlight.cpp')
-rw-r--r--Source/WebCore/platform/graphics/chromium/LinkHighlight.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/chromium/LinkHighlight.cpp b/Source/WebCore/platform/graphics/chromium/LinkHighlight.cpp
index 53536b32c..bcb7b3c36 100644
--- a/Source/WebCore/platform/graphics/chromium/LinkHighlight.cpp
+++ b/Source/WebCore/platform/graphics/chromium/LinkHighlight.cpp
@@ -34,6 +34,8 @@
#if USE(ACCELERATED_COMPOSITING)
+using WebKit::WebTransformationMatrix;
+
namespace WebCore {
PassRefPtr<LinkHighlight> LinkHighlight::create(GraphicsLayerChromium* parent, const Path& path, int animationId, int groupId)
@@ -52,7 +54,7 @@ LinkHighlight::LinkHighlight(GraphicsLayerChromium* parent, const Path& path, in
m_contentLayer->setBounds(rect.size());
- TransformationMatrix transform;
+ WebTransformationMatrix transform;
transform.translate(rect.x() + rect.width() / 2, rect.y() + rect.height() / 2);
m_contentLayer->setTransform(transform);