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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.cpp

Issue 2766723002: Migrate WTF::Vector::prepend() to ::push_front() (Closed)
Patch Set: Created 3 years, 9 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/modules/accessibility/AXObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
index 36bad05fdae17eb1258e795cf047b3e1843b27bf..090017264ba18ce12195f96f8bb0e5fac2064b7c 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
@@ -1527,7 +1527,7 @@ void AXObject::scrollToGlobalPoint(const IntPoint& globalPoint) const {
for (parentObject = this->parentObject(); parentObject;
parentObject = parentObject->parentObject()) {
if (parentObject->getScrollableAreaIfScrollable())
- objects.prepend(parentObject);
+ objects.push_front(parentObject);
}
objects.push_back(this);

Powered by Google App Engine
This is Rietveld 408576698