Chromium Code Reviews| Index: Source/wtf/text/StringImpl.cpp |
| diff --git a/Source/wtf/text/StringImpl.cpp b/Source/wtf/text/StringImpl.cpp |
| index 7628ebf28abdd53e3152e688c633fee57409a652..5ce696e6354139aa56c3b1c093936a01c6d4f39c 100644 |
| --- a/Source/wtf/text/StringImpl.cpp |
| +++ b/Source/wtf/text/StringImpl.cpp |
| @@ -1934,6 +1934,8 @@ bool equal(const StringImpl* a, const StringImpl* b) |
| return true; |
| if (!a || !b) |
| return false; |
| + if (a->isAtomic() && b->isAtomic()) |
| + return false; |
|
abarth-chromium
2014/03/06 18:52:05
Can we land this change separately? This code is c
|
| return stringImplContentEqual(a, b); |
| } |