| Index: Source/core/html/canvas/HitRegion.cpp
|
| diff --git a/Source/core/html/canvas/HitRegion.cpp b/Source/core/html/canvas/HitRegion.cpp
|
| index d436f45a87cab471ee616f1c80042b24274bbc9a..cb2e827a0ff4962320d01b07e6e329fe44b817a3 100644
|
| --- a/Source/core/html/canvas/HitRegion.cpp
|
| +++ b/Source/core/html/canvas/HitRegion.cpp
|
| @@ -14,6 +14,7 @@ HitRegion::HitRegion(const HitRegionOptions& options)
|
| : m_id(options.id)
|
| , m_control(options.control)
|
| , m_path(options.path)
|
| + , m_fillRule(options.fillRule)
|
| {
|
| }
|
|
|
| @@ -44,7 +45,7 @@ bool HitRegion::contains(const LayoutPoint& point) const
|
| if (!m_path.boundingRect().contains(point))
|
| return false;
|
|
|
| - return m_path.contains(point, RULE_NONZERO);
|
| + return m_path.contains(point, m_fillRule);
|
| }
|
|
|
| void HitRegion::removePixels(const Path& clearArea)
|
|
|