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

Unified Diff: Source/wtf/Vector.h

Issue 23766020: Trivial changes to default Vector sizing in the shadow area. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tidying up. Created 7 years, 3 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 | « Source/core/dom/shadow/InsertionPoint.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Vector.h
diff --git a/Source/wtf/Vector.h b/Source/wtf/Vector.h
index 164847e215b04741950e23073187600fa2cad096..807a432214a21c3fb7bcb719fb6a1b6d76970241 100644
--- a/Source/wtf/Vector.h
+++ b/Source/wtf/Vector.h
@@ -29,8 +29,8 @@
#include "wtf/StdLibExtras.h"
#include "wtf/UnusedParam.h"
#include "wtf/VectorTraits.h"
-#include <utility>
#include <string.h>
+#include <utility>
namespace WTF {
@@ -944,7 +944,7 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
// vector's capacity is large enough for the append to succeed.
template<typename T, size_t inlineCapacity> template<typename U>
- inline void Vector<T, inlineCapacity>::uncheckedAppend(const U& val)
+ ALWAYS_INLINE void Vector<T, inlineCapacity>::uncheckedAppend(const U& val)
{
ASSERT(size() < capacity());
const U* ptr = &val;
« no previous file with comments | « Source/core/dom/shadow/InsertionPoint.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698