Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Issue 337753005: Make iterator for Element's attributes more lightweight (Closed)

Created:
6 years, 6 months ago by Inactive
Modified:
6 years, 6 months ago
Reviewers:
esprehn
CC:
aandrey+blink_chromium.org, darktears, apavlov+blink_chromium.org, arv+blink, blink-reviews, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, caseq+blink_chromium.org, Inactive, devtools-reviews_chromium.org, dglazkov+blink, eae+blinkwatch, ed+blinkwatch_opera.com, eustas+blink_chromium.org, loislo+blink_chromium.org, lushnikov+blink_chromium.org, malch+blink_chromium.org, paulirish+reviews_chromium.org, pfeldman+blink_chromium.org, rwlbuis, rune+blink, sergeyv+blink_chromium.org, sof, vsevik+blink_chromium.org, watchdog-blink-watchlist_google.com, yurys+blink_chromium.org
Project:
blink
Visibility:
Public.

Description

Make iterator for Element's attributes more lightweight Make iterator for Element's attributes more lightweight. Kill the AttributeConstIterator class and make the iterator a simple pointer instead (similarly to the Vector iterator). Also rename the AttributeIteratorAccessor class to AttributeCollection as I think it looks better. This CL adds a typedef so that the iterator is now used as AttributeCollection::const_iterator. Also rename the attributesIterator() method to attributes() for simplicity. R=esprehn@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176430

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Proper rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -144 lines) Patch
M Source/core/css/SelectorChecker.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/css/SelectorChecker.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/dom/DatasetDOMStringMap.cpp View 3 chunks +9 lines, -9 lines 0 comments Download
M Source/core/dom/Element.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 2 4 chunks +10 lines, -10 lines 0 comments Download
M Source/core/dom/Element.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/ElementData.h View 5 chunks +23 lines, -40 lines 0 comments Download
M Source/core/dom/ElementData.cpp View 3 chunks +14 lines, -12 lines 0 comments Download
M Source/core/dom/Node.cpp View 3 chunks +9 lines, -9 lines 0 comments Download
M Source/core/dom/PresentationAttributeStyle.cpp View 1 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/editing/MarkupAccumulator.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/editing/markup.cpp View 2 chunks +8 lines, -8 lines 0 comments Download
M Source/core/html/HTMLEmbedElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLObjectElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/inspector/DOMPatchSupport.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/inspector/InspectorDOMAgent.cpp View 3 chunks +9 lines, -9 lines 0 comments Download
M Source/core/page/PageSerializer.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/xml/XPathNodeSet.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/xml/XPathStep.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/xml/parser/XMLDocumentParser.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebPageSerializerImpl.cpp View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Inactive
6 years, 6 months ago (2014-06-16 16:51:18 UTC) #1
esprehn
lgtm
6 years, 6 months ago (2014-06-18 06:08:39 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/337753005/1
6 years, 6 months ago (2014-06-18 06:09:54 UTC) #3
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-18 06:10:02 UTC) #4
commit-bot: I haz the power
Failed to apply patch for Source/core/dom/Element.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-18 06:10:03 UTC) #5
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 6 months ago (2014-06-18 12:19:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/337753005/20001
6 years, 6 months ago (2014-06-18 12:20:35 UTC) #7
Inactive
The CQ bit was unchecked by ch.dumez@samsung.com
6 years, 6 months ago (2014-06-18 12:30:12 UTC) #8
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 6 months ago (2014-06-18 12:32:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/337753005/40001
6 years, 6 months ago (2014-06-18 12:32:37 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-18 14:19:11 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/11864)
6 years, 6 months ago (2014-06-18 14:19:12 UTC) #12
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 6 months ago (2014-06-18 14:21:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/337753005/40001
6 years, 6 months ago (2014-06-18 14:22:32 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 16:20:27 UTC) #15
Message was sent while issue was closed.
Change committed as 176430

Powered by Google App Engine
This is Rietveld 408576698