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

Unified Diff: third_party/WebKit/Source/core/input/TouchEventManager.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Source/core/input/TouchEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/TouchEventManager.cpp b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
index 8d161e1ef2727d4b4eb29e42defb9eefbf560174..81bfa6a92bf212feae8bd28bbe37073d2a815e0f 100644
--- a/third_party/WebKit/Source/core/input/TouchEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
@@ -164,7 +164,7 @@ WebInputEventResult TouchEventManager::dispatchTouchEvents(
if (!changedTouches[pointState].m_touches)
changedTouches[pointState].m_touches = TouchList::create();
changedTouches[pointState].m_touches->append(touch);
- changedTouches[pointState].m_targets.add(touchInfo.touchNode);
+ changedTouches[pointState].m_targets.insert(touchInfo.touchNode);
changedTouches[pointState].m_pointerType =
point.pointerProperties().pointerType;
}

Powered by Google App Engine
This is Rietveld 408576698