Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(561)

Unified Diff: Source/core/html/canvas/HitRegion.cpp

Issue 343543007: Should call clear() for controls when calling removeAllHitRegions(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..41c6ad6d3f565b4667c92469f6d840adb1745ae6 100644
--- a/Source/core/html/canvas/HitRegion.cpp
+++ b/Source/core/html/canvas/HitRegion.cpp
@@ -115,6 +115,7 @@ void HitRegionManager::removeAllHitRegions()
{
m_hitRegionList.clear();
m_hitRegionIdMap.clear();
+ m_hitRegionControlMap.clear();
}
HitRegion* HitRegionManager::getHitRegionById(const String& id) const
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698