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

Issue 180723006: Have ElementData::attributeItem() return a reference (Closed)

Created:
6 years, 10 months ago by Inactive
Modified:
6 years, 9 months ago
Reviewers:
adamk, eseidel
CC:
blink-reviews, devtools-reviews_chromium.org, caseq+blink_chromium.org, aandrey+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, sof, eae+blinkwatch, ed+blinkwatch_opera.com, lushnikov+blink_chromium.org, yurys+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, adamk+blink_chromium.org, alph+blink_chromium.org, darktears, rune+blink, Inactive, rwlbuis
Visibility:
Public.

Description

Have ElementData::attributeItem() return a reference Have ElementData::attributeItem() return a reference instead of a pointer as it can never return null. This makes the calling code look safer. R=adamk, eseidel Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168037

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -125 lines) Patch
M Source/core/css/SelectorChecker.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/SelectorChecker.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/dom/DatasetDOMStringMap.cpp View 3 chunks +8 lines, -8 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 11 chunks +26 lines, -27 lines 0 comments Download
M Source/core/dom/ElementData.h View 5 chunks +8 lines, -7 lines 0 comments Download
M Source/core/dom/ElementData.cpp View 3 chunks +8 lines, -8 lines 0 comments Download
M Source/core/dom/NamedNodeMap.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 1 3 chunks +14 lines, -13 lines 0 comments Download
M Source/core/dom/PresentationAttributeStyle.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/editing/MarkupAccumulator.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/markup.cpp View 2 chunks +6 lines, -6 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 3 chunks +7 lines, -7 lines 0 comments Download
M Source/core/inspector/InspectorDOMAgent.cpp View 3 chunks +10 lines, -10 lines 0 comments Download
M Source/core/page/PageSerializer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/xml/XPathNodeSet.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XPathStep.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/parser/XMLDocumentParser.cpp View 1 chunk +5 lines, -5 lines 0 comments Download
M Source/web/WebElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/WebPageSerializerImpl.cpp View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Inactive
6 years, 10 months ago (2014-02-26 20:55:26 UTC) #1
eseidel
lgtm
6 years, 10 months ago (2014-02-26 21:03:28 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/180723006/1
6 years, 10 months ago (2014-02-26 21:03:57 UTC) #3
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-27 02:53:48 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=29240
6 years, 10 months ago (2014-02-27 02:53:48 UTC) #5
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 10 months ago (2014-02-27 03:26:25 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/180723006/1
6 years, 10 months ago (2014-02-27 03:26:36 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-27 03:26:42 UTC) #8
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, 10 months ago (2014-02-27 03:26:42 UTC) #9
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 9 months ago (2014-02-27 14:15:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/180723006/20001
6 years, 9 months ago (2014-02-27 14:15:35 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-02-27 16:19:52 UTC) #12
Message was sent while issue was closed.
Change committed as 168037

Powered by Google App Engine
This is Rietveld 408576698