Commit 1ef2655d authored by benjamin@webkit.org's avatar benjamin@webkit.org

Fix the build after r154780

* dom/SpaceSplitString.cpp:
(WebCore::SpaceSplitStringData::create):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 99665e93
2013-08-28 Benjamin Poulain <benjamin@webkit.org>
Fix the build after r154780
* dom/SpaceSplitString.cpp:
(WebCore::SpaceSplitStringData::create):
2013-08-27 Benjamin Poulain <bpoulain@apple.com>
Simplify and clean SpaceSplitString
......@@ -219,7 +219,7 @@ PassRefPtr<SpaceSplitStringData> SpaceSplitStringData::create(const AtomicString
AtomicString* tokenArrayStart = spaceSplitStringData->tokenArrayStart();
TokenAtomicStringInitializer tokenInitializer(tokenArrayStart);
tokenizeSpaceSplitString(tokenInitializer, keyString);
ASSERT(tokenInitializer.nextMemoryBucket() - tokenArrayStart == tokenCount);
ASSERT(static_cast<unsigned>(tokenInitializer.nextMemoryBucket() - tokenArrayStart) == tokenCount);
ASSERT(reinterpret_cast<const char*>(tokenInitializer.nextMemoryBucket()) == reinterpret_cast<const char*>(spaceSplitStringData) + sizeToAllocate);
return adoptRef(spaceSplitStringData);
......
Markdown is supported
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