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

Issue 27973004: Have ensureAttrNodeListForElement() return a reference (Closed)

Created:
7 years, 2 months ago by Inactive
Modified:
7 years, 2 months ago
Reviewers:
adamk
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Have ensureAttrNodeListForElement() return a reference Have ensureAttrNodeListForElement() return a reference instead of a pointer as it can never return NULL. This makes the calling code look safer. R=adamk BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160034

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits #

Patch Set 3 : Fix nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M Source/core/dom/Element.cpp View 1 5 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Inactive
7 years, 2 months ago (2013-10-18 14:53:38 UTC) #1
adamk
lgtm with nit https://codereview.chromium.org/27973004/diff/1/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (right): https://codereview.chromium.org/27973004/diff/1/Source/core/dom/Element.cpp#newcode183 Source/core/dom/Element.cpp:183: if (attrNodeList.at(i)->qualifiedName() == name) Nit: you ...
7 years, 2 months ago (2013-10-18 15:54:26 UTC) #2
Inactive
https://codereview.chromium.org/27973004/diff/1/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (right): https://codereview.chromium.org/27973004/diff/1/Source/core/dom/Element.cpp#newcode183 Source/core/dom/Element.cpp:183: if (attrNodeList.at(i)->qualifiedName() == name) On 2013/10/18 15:54:26, adamk wrote: ...
7 years, 2 months ago (2013-10-18 16:06:51 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/27973004/80001
7 years, 2 months ago (2013-10-18 16:07:30 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=12316
7 years, 2 months ago (2013-10-18 21:44:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/27973004/80001
7 years, 2 months ago (2013-10-18 21:50:46 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=12345
7 years, 2 months ago (2013-10-19 03:10:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/27973004/80001
7 years, 2 months ago (2013-10-20 20:50:25 UTC) #8
commit-bot: I haz the power
7 years, 2 months ago (2013-10-20 23:27:12 UTC) #9
Message was sent while issue was closed.
Change committed as 160034

Powered by Google App Engine
This is Rietveld 408576698