summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/openvg
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/openvg')
-rw-r--r--WebCore/platform/graphics/openvg/PainterOpenVG.cpp2
-rw-r--r--WebCore/platform/graphics/openvg/PathOpenVG.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/platform/graphics/openvg/PainterOpenVG.cpp b/WebCore/platform/graphics/openvg/PainterOpenVG.cpp
index 7d60ca5..b2f2302 100644
--- a/WebCore/platform/graphics/openvg/PainterOpenVG.cpp
+++ b/WebCore/platform/graphics/openvg/PainterOpenVG.cpp
@@ -834,7 +834,7 @@ void PainterOpenVG::clipPath(const Path& path, PainterOpenVG::ClipOperation mask
vgSeti(VG_FILL_RULE, toVGFillRule(clipRule));
vgRenderToMask(path.platformPath()->vgPath(), VG_FILL_PATH, (VGMaskOperation) maskOp);
ASSERT_VG_NO_ERROR();
-#elseif
+#else
notImplemented();
#endif
}
diff --git a/WebCore/platform/graphics/openvg/PathOpenVG.cpp b/WebCore/platform/graphics/openvg/PathOpenVG.cpp
index 2c366ee..7e67036 100644
--- a/WebCore/platform/graphics/openvg/PathOpenVG.cpp
+++ b/WebCore/platform/graphics/openvg/PathOpenVG.cpp
@@ -459,8 +459,8 @@ void Path::transform(const AffineTransform& transformation)
delete m_path;
m_path = dst;
- m_path->m_currentPoint = transform.mapPoint(m_path->m_currentPoint);
- m_path->m_subpathStartPoint = transform.mapPoint(m_path->m_subpathStartPoint);
+ m_path->m_currentPoint = transformation.mapPoint(m_path->m_currentPoint);
+ m_path->m_subpathStartPoint = transformation.mapPoint(m_path->m_subpathStartPoint);
}