| Index: third_party/WebKit/Source/wtf/text/StringImplTest.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/text/StringImplTest.cpp b/third_party/WebKit/Source/wtf/text/StringImplTest.cpp
|
| index 7dab3d9457f54d163f41e187dd636b26d7fe7004..9843a07eb4df4df003404130bdc5736bf335ead4 100644
|
| --- a/third_party/WebKit/Source/wtf/text/StringImplTest.cpp
|
| +++ b/third_party/WebKit/Source/wtf/text/StringImplTest.cpp
|
| @@ -89,6 +89,9 @@ TEST(StringImplTest, LowerASCII) {
|
| static const UChar testWithNonASCIICapitalized[3] = {0x0041, 0x00e1,
|
| 0}; // A\xE1
|
|
|
| + // Make sure we support RefPtr<const StringImpl>.
|
| + RefPtr<const StringImpl> constRef = testStringImpl->isolatedCopy();
|
| + DCHECK(constRef->hasOneRef());
|
| EXPECT_TRUE(equal(
|
| StringImpl::create(testWithNonASCII, 2).get(),
|
| StringImpl::create(testWithNonASCIICapitalized, 2)->lowerASCII().get()));
|
|
|