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

Unified Diff: third_party/WebKit/Source/platform/geometry/FloatPolygonTest.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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/geometry/FloatPolygonTest.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/FloatPolygonTest.cpp b/third_party/WebKit/Source/platform/geometry/FloatPolygonTest.cpp
index dac194e122b211a391708f9bc9b96724c6e31c49..17bbc3698b5d990ec212f0ab4e0dac0b904de998 100644
--- a/third_party/WebKit/Source/platform/geometry/FloatPolygonTest.cpp
+++ b/third_party/WebKit/Source/platform/geometry/FloatPolygonTest.cpp
@@ -42,10 +42,11 @@ class FloatPolygonTestValue {
WindRule fillRule) {
ASSERT(!(coordinatesLength % 2));
std::unique_ptr<Vector<FloatPoint>> vertices =
- wrapUnique(new Vector<FloatPoint>(coordinatesLength / 2));
+ WTF::wrapUnique(new Vector<FloatPoint>(coordinatesLength / 2));
for (unsigned i = 0; i < coordinatesLength; i += 2)
(*vertices)[i / 2] = FloatPoint(coordinates[i], coordinates[i + 1]);
- m_polygon = wrapUnique(new FloatPolygon(std::move(vertices), fillRule));
+ m_polygon =
+ WTF::wrapUnique(new FloatPolygon(std::move(vertices), fillRule));
}
const FloatPolygon& polygon() const { return *m_polygon; }

Powered by Google App Engine
This is Rietveld 408576698