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

Issue 26852004: Have NodeRareData's ensureNodeLists() / ensureMutationObserverData() return a reference (Closed)

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

Description

Have NodeRareData's ensureNodeLists() / ensureMutationObserverData() return a reference Have NodeRareData's ensureNodeLists() / ensureMutationObserverData() return a reference instead of a pointer as the return value can never be null. This makes the calling code look safer. R=adamk BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160213

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -23 lines) Patch
M Source/core/dom/ContainerNode.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/dom/Node.cpp View 5 chunks +9 lines, -9 lines 0 comments Download
M Source/core/dom/NodeRareData.h View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/html/LabelableElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Inactive
7 years, 2 months ago (2013-10-17 17:55:07 UTC) #1
Inactive
7 years, 2 months ago (2013-10-21 13:01:51 UTC) #2
adamk
lgtm
7 years, 2 months ago (2013-10-21 18:16:15 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/26852004/1
7 years, 2 months ago (2013-10-21 18:17:31 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=12783
7 years, 2 months ago (2013-10-21 20:30:11 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/26852004/1
7 years, 2 months ago (2013-10-22 13:21:35 UTC) #6
commit-bot: I haz the power
7 years, 2 months ago (2013-10-22 14:53:45 UTC) #7
Message was sent while issue was closed.
Change committed as 160213

Powered by Google App Engine
This is Rietveld 408576698