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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineFlowBox.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/line/InlineFlowBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
index ab112b6be61824ed00beffb9d245b38740536ea2..9ae81abab5cadcac05a2b46b0f1d4756eb4e7cd7 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
@@ -1183,7 +1183,7 @@ void InlineFlowBox::setLayoutOverflow(const LayoutRect& rect,
return;
if (!m_overflow)
- m_overflow = wrapUnique(new SimpleOverflowModel(frameBox, frameBox));
+ m_overflow = makeUnique<SimpleOverflowModel>(frameBox, frameBox);
m_overflow->setLayoutOverflow(rect);
}
@@ -1195,7 +1195,7 @@ void InlineFlowBox::setVisualOverflow(const LayoutRect& rect,
return;
if (!m_overflow)
- m_overflow = wrapUnique(new SimpleOverflowModel(frameBox, frameBox));
+ m_overflow = makeUnique<SimpleOverflowModel>(frameBox, frameBox);
m_overflow->setVisualOverflow(rect);
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | third_party/WebKit/Source/core/layout/shapes/Shape.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698