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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintController.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/paint/PaintController.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
index b62d5391553bd8bbad4b835d8e28fe7bf7d89b18..beeb0b2d231a142be405d11046daacc048414ab0 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
@@ -20,8 +20,8 @@
#include "wtf/Alignment.h"
#include "wtf/HashMap.h"
#include "wtf/PassOwnPtr.h"
-#include "wtf/Utility.h"
#include "wtf/Vector.h"
+#include <utility>
namespace blink {
@@ -76,7 +76,7 @@ public:
if (displayItemConstructionIsDisabled())
return;
- DisplayItemClass& displayItem = m_newDisplayItemList.allocateAndConstruct<DisplayItemClass>(WTF::forward<Args>(args)...);
+ DisplayItemClass& displayItem = m_newDisplayItemList.allocateAndConstruct<DisplayItemClass>(std::forward<Args>(args)...);
processNewItem(displayItem);
}
@@ -93,7 +93,7 @@ public:
if (lastDisplayItemIsNoopBegin())
removeLastDisplayItem();
else
- createAndAppend<DisplayItemClass>(WTF::forward<Args>(args)...);
+ createAndAppend<DisplayItemClass>(std::forward<Args>(args)...);
}
// Scopes must be used to avoid duplicated display item ids when we paint some object
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/ContiguousContainer.h ('k') | third_party/WebKit/Source/wtf/Optional.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698