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

Issue 181703004: Have Document::timing() / Document::contextFeatures() return a reference (Closed)

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

Description

Have Document::timing() / Document::contextFeatures() return a reference Have Document::timing() / Document::contextFeatures() return a reference instead of a pointer as they can never return null. This makes the calling code looks safer. R=adamk Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167938

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -13 lines) Patch
M Source/core/dom/ContextFeatures.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/dom/Document.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/Document.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/timing/PerformanceTiming.cpp 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 18:43:24 UTC) #1
adamk
lgtm
6 years, 10 months ago (2014-02-26 19:14:21 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/181703004/1
6 years, 10 months ago (2014-02-26 19:15:22 UTC) #3
commit-bot: I haz the power
6 years, 10 months ago (2014-02-26 23:12:38 UTC) #4
Message was sent while issue was closed.
Change committed as 167938

Powered by Google App Engine
This is Rietveld 408576698