Index: third_party/WebKit/Source/modules/canvas2d/HitRegion.cpp |
diff --git a/third_party/WebKit/Source/modules/canvas2d/HitRegion.cpp b/third_party/WebKit/Source/modules/canvas2d/HitRegion.cpp |
index 3934ca76847532d056b8b4602df2bad0c71925d2..55300b0f27061b83e8a25105049a529951e80614 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/HitRegion.cpp |
+++ b/third_party/WebKit/Source/modules/canvas2d/HitRegion.cpp |
@@ -66,7 +66,7 @@ void HitRegionManager::removeHitRegionById(const String& id) |
removeHitRegion(getHitRegionById(id)); |
} |
-void HitRegionManager::removeHitRegionByControl(Element* control) |
+void HitRegionManager::removeHitRegionByControl(const Element* control) |
{ |
removeHitRegion(getHitRegionByControl(control)); |
} |
@@ -104,7 +104,7 @@ HitRegion* HitRegionManager::getHitRegionById(const String& id) const |
return m_hitRegionIdMap.get(id); |
} |
-HitRegion* HitRegionManager::getHitRegionByControl(Element* control) const |
+HitRegion* HitRegionManager::getHitRegionByControl(const Element* control) const |
{ |
if (control) |
return m_hitRegionControlMap.get(control); |