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

Unified Diff: third_party/WebKit/Source/platform/graphics/ContiguousContainerTest.cpp

Issue 1477213003: More switching to standard type traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use std::is_base_of Created 5 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/graphics/ContiguousContainerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ContiguousContainerTest.cpp b/third_party/WebKit/Source/platform/graphics/ContiguousContainerTest.cpp
index d8b33f8cdb781197031420fc1bfa674ae5b29f2f..5763bb2cb79ec072ee7d2f75ec230a9fd2440e59 100644
--- a/third_party/WebKit/Source/platform/graphics/ContiguousContainerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ContiguousContainerTest.cpp
@@ -234,7 +234,7 @@ TEST(ContiguousContainerTest, ForwardIteration)
}
EXPECT_EQ(kNumElements, count);
- static_assert(WTF::IsSameType<decltype(*list.begin()), Point2D&>::value,
+ static_assert(std::is_same<decltype(*list.begin()), Point2D&>::value,
"Non-const iteration should produce non-const references.");
}
@@ -252,7 +252,7 @@ TEST(ContiguousContainerTest, ConstForwardIteration)
}
EXPECT_EQ(kNumElements, count);
- static_assert(WTF::IsSameType<decltype(*constList.begin()), const Point2D&>::value,
+ static_assert(std::is_same<decltype(*constList.begin()), const Point2D&>::value,
"Const iteration should produce const references.");
}
@@ -269,7 +269,7 @@ TEST(ContiguousContainerTest, ReverseIteration)
}
EXPECT_EQ(kNumElements, count);
- static_assert(WTF::IsSameType<decltype(*list.rbegin()), Point2D&>::value,
+ static_assert(std::is_same<decltype(*list.rbegin()), Point2D&>::value,
"Non-const iteration should produce non-const references.");
}

Powered by Google App Engine
This is Rietveld 408576698