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

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: Excluded WTF::IsSubclass from the patch 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
« no previous file with comments | « third_party/WebKit/Source/platform/TraceEvent.h ('k') | third_party/WebKit/Source/platform/heap/GCInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5afe17d7baf4f033c329f5a4e66f51cd2bce29b1..656218bec359e6cf451826de31b5b1dcf669c5f3 100644
--- a/third_party/WebKit/Source/platform/graphics/ContiguousContainerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ContiguousContainerTest.cpp
@@ -233,7 +233,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.");
}
@@ -251,7 +251,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.");
}
@@ -268,7 +268,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.");
}
« no previous file with comments | « third_party/WebKit/Source/platform/TraceEvent.h ('k') | third_party/WebKit/Source/platform/heap/GCInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698