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

Unified Diff: third_party/WebKit/Source/wtf/Vector.h

Issue 1772823003: Rename Vector::prepend to Vector::prependVector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« 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: third_party/WebKit/Source/wtf/Vector.h
diff --git a/third_party/WebKit/Source/wtf/Vector.h b/third_party/WebKit/Source/wtf/Vector.h
index f1387c8dfd904efdfc4d79e240983af36e081e1f..c749a1abcf3f7db1c059f54e4cfad8f9dd6f82ba 100644
--- a/third_party/WebKit/Source/wtf/Vector.h
+++ b/third_party/WebKit/Source/wtf/Vector.h
@@ -771,7 +771,7 @@ public:
template <typename U> void prepend(const U*, size_t);
template <typename U> void prepend(U&&);
- template <typename U, size_t c, typename V> void prepend(const Vector<U, c, V>&);
+ template <typename U, size_t c, typename V> void prependVector(const Vector<U, c, V>&);
void remove(size_t position);
void remove(size_t position, size_t length);
@@ -1286,7 +1286,7 @@ inline void Vector<T, inlineCapacity, Allocator>::prepend(U&& val)
template <typename T, size_t inlineCapacity, typename Allocator>
template <typename U, size_t c, typename V>
-inline void Vector<T, inlineCapacity, Allocator>::prepend(const Vector<U, c, V>& val)
+inline void Vector<T, inlineCapacity, Allocator>::prependVector(const Vector<U, c, V>& val)
{
insert(0, val.begin(), val.size());
}
« 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