Changeset 60797 in webkit
- Timestamp:
- Jun 7, 2010 1:01:29 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r60796 r60797 1 2010-06-07 Anton Muhin <antonm@chromium.org> 2 3 Reviewed by Nate Chapin. 4 5 [Chromium] convert a key to AtomicString in V8NodeList::namedPropertyGetter 6 https://bugs.webkit.org/show_bug.cgi?id=40238 7 8 Comparison to "length" below could be performed faster in this (major) case 9 as it would only require direct pointer comparison (cf. to full text 10 comparison if key is converted to WebCore::String.) 11 12 * bindings/v8/custom/V8NodeListCustom.cpp: 13 (WebCore::V8NodeList::namedPropertyGetter): 14 1 15 2010-06-07 Ariya Hidayat <ariya.hidayat@codeaurora.org> 2 16 -
trunk/WebCore/bindings/v8/custom/V8NodeListCustom.cpp
r54305 r60797 46 46 INC_STATS("DOM.NodeList.NamedPropertyGetter"); 47 47 NodeList* list = V8NodeList::toNative(info.Holder()); 48 String key = toWebCoreString(name);48 AtomicString key = v8ValueToAtomicWebCoreString(name); 49 49 50 50 // Length property cannot be overridden.
Note: See TracChangeset
for help on using the changeset viewer.