Index: third_party/WebKit/Source/wtf/text/CStringTest.cpp |
diff --git a/third_party/WebKit/Source/wtf/text/CStringTest.cpp b/third_party/WebKit/Source/wtf/text/CStringTest.cpp |
index 0abb4601803b5f37d29c2e59fc194777658e541a..7cdb4896c78b368a2cdbe633f02961cd9c76bbe8 100644 |
--- a/third_party/WebKit/Source/wtf/text/CStringTest.cpp |
+++ b/third_party/WebKit/Source/wtf/text/CStringTest.cpp |
@@ -111,18 +111,6 @@ TEST(CStringTest, ZeroTerminated) |
EXPECT_EQ(0, stringWithLength.data()[3]); |
} |
-TEST(CStringTest, CopyOnWrite) |
-{ |
- const char* initialString = "Webkit"; |
- CString string(initialString); |
- CString copy = string; |
- |
- string.mutableData()[3] = 'K'; |
- EXPECT_TRUE(string != copy); |
- EXPECT_STREQ("WebKit", string.data()); |
- EXPECT_STREQ(initialString, copy.data()); |
-} |
- |
TEST(CStringTest, Comparison) |
{ |
// Comparison with another CString. |