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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2746763009: Migrate WTF::Deque::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/core/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 55ae9c2da07b20aeb42af8bbf040e277e500f15b..4353a4a7342d9d707bd18e6eb0821b2a7e2894b2 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -201,7 +201,7 @@ void StyleResolver::addToStyleSharingList(Element& element) {
StyleSharingList& list = styleSharingList();
if (list.size() >= styleSharingListSize)
list.pop_back();
- list.prepend(&element);
+ list.push_front(&element);
}
StyleSharingList& StyleResolver::styleSharingList() {
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp ('k') | third_party/WebKit/Source/core/dom/Fullscreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698