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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutGrid.cpp

Issue 2494333002: Replace wrapUnique(new T(args)) by makeUnique<T>(args) in Blink (Closed)
Patch Set: Drop redundant WTF:: Created 4 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/core/layout/LayoutGrid.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
index e323b52d5752fc4eb3f808a551a0ffce9b82ba94..cb52b7acaa913ca94f88f90c69cc728421147d4e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -1009,7 +1009,7 @@ double LayoutGrid::computeFlexFactorUnitSize(
leftOverSpace -= baseSize;
flexFactorSum -= flexFactor;
if (!additionalTracksToTreatAsInflexible)
- additionalTracksToTreatAsInflexible = wrapUnique(new TrackIndexSet());
+ additionalTracksToTreatAsInflexible = makeUnique<TrackIndexSet>();
additionalTracksToTreatAsInflexible->add(index);
validFlexFactorUnit = false;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698