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

Issue 27519002: Have Node::ensureRareData() 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 Node::ensureRareData() return a reference Have Node::ensureRareData() return a reference instead of a pointer as it can never return null. This makes the calling code look safer. R=tkent BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159864

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -72 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.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Element.cpp View 19 chunks +51 lines, -51 lines 0 comments Download
M Source/core/dom/Node.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Node.cpp View 8 chunks +13 lines, -13 lines 0 comments Download
M Source/core/html/LabelableElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Inactive
7 years, 2 months ago (2013-10-16 14:31:16 UTC) #1
adamk
lgtm
7 years, 2 months ago (2013-10-16 17:21:17 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/27519002/1
7 years, 2 months ago (2013-10-16 17:21:31 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/27519002/1
7 years, 2 months ago (2013-10-16 20:43:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/27519002/1
7 years, 2 months ago (2013-10-17 01:37:31 UTC) #5
commit-bot: I haz the power
7 years, 2 months ago (2013-10-17 11:43:00 UTC) #6
Message was sent while issue was closed.
Change committed as 159864

Powered by Google App Engine
This is Rietveld 408576698