Commit 489c4171 authored by beidson@apple.com's avatar beidson@apple.com

2008-05-05 Brady Eidson <beidson@apple.com>

        Change by Darin, reviewed by Brady

        Small efficiency improvement Darin just spotted

        * storage/StorageMap.cpp:
        (WebCore::StorageMap::setItem):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 98d2d18a
2008-05-05 Brady Eidson <beidson@apple.com>
Change by Darin, reviewed by Brady
Small efficiency improvement Darin just spotted
* storage/StorageMap.cpp:
(WebCore::StorageMap::setItem):
2008-05-05 Antti Koivisto <antti@apple.com>
Reviewed by Anders.
......@@ -115,7 +115,7 @@ PassRefPtr<StorageMap> StorageMap::setItem(const String& key, const String& valu
oldValue = String();
} else {
oldValue = addResult.first->second;
m_map.set(key, value);
addResult.first->second = value;
}
invalidateIterator();
......
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