Commit 48b735f2 authored by aestes@apple.com's avatar aestes@apple.com
Browse files

Fix the build after r105635.

Source/JavaScriptCore:

* JavaScriptCore.exp:

Tools:

* TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
(TestWebKitAPI::TEST):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2ef8a3fe
2012-01-23 Andy Estes <aestes@apple.com>
Fix the build after r105635.
* JavaScriptCore.exp:
2012-01-23 Mark Hahnenberg <mhahnenberg@apple.com>
 
Remove StackBounds from JSGlobalData
......@@ -403,6 +403,7 @@ __ZN3WTF12AtomicString3addEPKh
__ZN3WTF12AtomicString3addEPKt
__ZN3WTF12AtomicString3addEPKtj
__ZN3WTF12AtomicString3addEPKtjj
__ZN3WTF12AtomicString3addEPNS_10StringImplEjj
__ZN3WTF12AtomicString4findEPKtjj
__ZN3WTF12AtomicString4initEv
__ZN3WTF12createThreadEPFPvS0_ES0_
......
2012-01-23 Andy Estes <aestes@apple.com>
Fix the build after r105635.
* TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
(TestWebKitAPI::TEST):
2012-01-23 Xianzhu Wang <wangxianzhu@chromium.org>
 
Basic enhancements to StringBuilder
......@@ -259,13 +259,13 @@ TEST(StringBuilderTest, ToAtomicString)
for (int i = builder.length(); i < 128; i++)
builder.append('x');
AtomicString atomicString1 = builder.toAtomicString();
ASSERT_EQ(128, atomicString1.length());
ASSERT_EQ(128u, atomicString1.length());
ASSERT_EQ('x', atomicString1[127]);
// Later change of builder should not affect the atomic string.
for (int i = builder.length(); i < 256; i++)
builder.append('x');
ASSERT_EQ(128, atomicString1.length());
ASSERT_EQ(128u, atomicString1.length());
ASSERT_FALSE(builder.canShrink());
String string = builder.toString();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment