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

Issue 1467143004: Remove AttributeCollection's findIndex(Attr*) by using QualifiedName (Closed)

Created:
5 years, 1 month ago by philipj_slow
Modified:
5 years ago
Reviewers:
sof
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove AttributeCollection's findIndex(Attr*) by using QualifiedName The internal Attribute and AttributeCollection need not know anything about the web-exposed Attr. Since Attr::qualifiedName() is not just a trivial getter, calling that outside of the loop is probably a good idea anyway. Committed: https://crrev.com/1cc8b43904b9ea7ad6058337e56ddca92b1c74fa Cr-Commit-Position: refs/heads/master@{#361221}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -16 lines) Patch
M third_party/WebKit/Source/core/dom/AttributeCollection.h View 3 chunks +0 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467143004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467143004/1
5 years, 1 month ago (2015-11-23 15:00:49 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-23 16:11:39 UTC) #4
philipj_slow
PTAL. I'm looking into https://code.google.com/p/chromium/issues/detail?id=502301 and finding little things like this.
5 years, 1 month ago (2015-11-23 16:15:57 UTC) #6
sof
lgtm. The redundancy of that findIndex() overload made more apparent by the b829784 refactoring.
5 years, 1 month ago (2015-11-23 21:28:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467143004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467143004/1
5 years ago (2015-11-23 23:30:22 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-11-23 23:51:24 UTC) #10
commit-bot: I haz the power
5 years ago (2015-11-23 23:52:09 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1cc8b43904b9ea7ad6058337e56ddca92b1c74fa
Cr-Commit-Position: refs/heads/master@{#361221}

Powered by Google App Engine
This is Rietveld 408576698