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

Issue 176883005: Have Element::ensureUniqueElementData() return a reference (Closed)

Created:
6 years, 10 months ago by Inactive
Modified:
6 years, 10 months ago
Reviewers:
adamk
CC:
blink-reviews, ed+blinkwatch_opera.com, krit, sof, eae+blinkwatch, fs, dglazkov+blink, f(malita), adamk+blink_chromium.org, gyuyoung.kim_webkit.org, Inactive, Stephen Chennney, pdr., rwlbuis
Visibility:
Public.

Description

Have Element::ensureUniqueElementData() return a reference Have Element::ensureUniqueElementData() return a reference instead of a pointer as it can never return null. It makes the calling code look safer. R=adamk Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167962

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -23 lines) Patch
M Source/core/dom/Attr.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Element.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/Element.cpp View 9 chunks +17 lines, -17 lines 0 comments Download
M Source/core/html/HTMLSelectElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGElement.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Inactive
6 years, 10 months ago (2014-02-26 21:13:03 UTC) #1
adamk
lgtm
6 years, 10 months ago (2014-02-26 21:15:55 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/176883005/1
6 years, 10 months ago (2014-02-26 21:16:17 UTC) #3
commit-bot: I haz the power
6 years, 10 months ago (2014-02-27 02:46:01 UTC) #4
Message was sent while issue was closed.
Change committed as 167962

Powered by Google App Engine
This is Rietveld 408576698