Changeset 166585 in webkit
- Timestamp:
- Apr 1, 2014 8:20:40 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r166582 r166585 1 2014-04-01 Zan Dobersek <zdobersek@igalia.com> 2 3 Move the attributes HashMap out of the parseAttributes function 4 https://bugs.webkit.org/show_bug.cgi?id=131019 5 6 Reviewed by Andreas Kling. 7 8 * xml/parser/XMLDocumentParserLibxml2.cpp: 9 (WebCore::parseAttributes): Avoid copying the HashMap object that's being returned by 10 converting it to an xvalue through using std::move() in the return statement. 11 1 12 2014-04-01 Zalan Bujtas <zalan@apple.com> 2 13 -
trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
r166120 r166585 1545 1545 1546 1546 attrsOK = state.gotAttributes; 1547 return st ate.attributes;1548 } 1549 1550 } 1547 return std::move(state.attributes); 1548 } 1549 1550 }
Note: See TracChangeset
for help on using the changeset viewer.