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

Unified Diff: third_party/WebKit/Source/platform/graphics/ContiguousContainer.h

Issue 1437943002: Replace WTF::forward with std::forward. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed one use of WTF::forward Created 5 years, 1 month 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/platform/graphics/ContiguousContainer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h b/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h
index dc6b5c041a8c5a458d15125342ea0d91ae1f29fe..c46c4992bcc10b0a6728aaf2baa85060c82eccd0 100644
--- a/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h
+++ b/third_party/WebKit/Source/platform/graphics/ContiguousContainer.h
@@ -11,10 +11,10 @@
#include "wtf/Noncopyable.h"
#include "wtf/OwnPtr.h"
#include "wtf/TypeTraits.h"
-#include "wtf/Utility.h"
#include "wtf/Vector.h"
#include <cstddef>
#include <iterator>
+#include <utility>
namespace blink {
@@ -148,7 +148,7 @@ public:
static_assert(alignment % WTF_ALIGN_OF(DerivedElementType) == 0,
"Derived type requires stronger alignment.");
size_t allocSize = align(sizeof(DerivedElementType));
- return *new (allocate(allocSize)) DerivedElementType(WTF::forward<Args>(args)...);
+ return *new (allocate(allocSize)) DerivedElementType(std::forward<Args>(args)...);
}
void removeLast()

Powered by Google App Engine
This is Rietveld 408576698