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

Unified Diff: third_party/WebKit/Source/core/page/TouchDisambiguation.cpp

Issue 2614033002: Migrate WTF::Vector::append() to ::push_back() [part 11 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/page/TouchDisambiguation.cpp
diff --git a/third_party/WebKit/Source/core/page/TouchDisambiguation.cpp b/third_party/WebKit/Source/core/page/TouchDisambiguation.cpp
index d7b62e8718591ce2b96bf0e8b97de4e49a4b6d35..e91253861c7b8af1310b4c27500daa0caeedd180 100644
--- a/third_party/WebKit/Source/core/page/TouchDisambiguation.cpp
+++ b/third_party/WebKit/Source/core/page/TouchDisambiguation.cpp
@@ -156,8 +156,8 @@ void findGoodTouchTargets(const IntRect& touchBoxInRootFrame,
// avoid excessive popups.
if (touchTarget.value.score < bestScore * 0.5)
continue;
- goodTargets.append(touchTarget.value.windowBoundingBox);
- highlightNodes.append(touchTarget.key);
+ goodTargets.push_back(touchTarget.value.windowBoundingBox);
+ highlightNodes.push_back(touchTarget.key);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/page/TouchAdjustment.cpp ('k') | third_party/WebKit/Source/core/page/WindowFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698