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

Unified Diff: third_party/WebKit/Source/platform/WebVectorTest.cpp

Issue 2799563002: Replace usage of WebVector::isEmpty with WebVector::empty().
Patch Set: Created 3 years, 8 months 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/WebVectorTest.cpp
diff --git a/third_party/WebKit/Source/platform/WebVectorTest.cpp b/third_party/WebKit/Source/platform/WebVectorTest.cpp
index c26d1507a5bdf50df75426981fb92418b78bec71..b094db090c9f80f3cfa4371f8a01aaa88f0dd389 100644
--- a/third_party/WebKit/Source/platform/WebVectorTest.cpp
+++ b/third_party/WebKit/Source/platform/WebVectorTest.cpp
@@ -49,11 +49,11 @@ TEST(WebVectorTest, Iterators) {
TEST(WebVectorTest, IsEmpty) {
WebVector<int> vector;
- ASSERT_TRUE(vector.isEmpty());
+ ASSERT_TRUE(vector.empty());
int value = 1;
vector.assign(&value, 1);
ASSERT_EQ(1u, vector.size());
- ASSERT_FALSE(vector.isEmpty());
+ ASSERT_FALSE(vector.empty());
}
TEST(WebVectorTest, Swap) {

Powered by Google App Engine
This is Rietveld 408576698