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

Issue 176903004: Have Document::timeline() / Document::transitionTimeline() return a reference (Closed)

Created:
6 years, 10 months ago by Inactive
Modified:
6 years, 9 months ago
Reviewers:
adamk
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), rwlbuis, sof, eae+blinkwatch, dglazkov+blink, dstockwell, Timothy Loh, adamk+blink_chromium.org, darktears, Steve Block, dino_apple.com, Inactive, Eric Willigers
Visibility:
Public.

Description

Have Document::timeline() / Document::transitionTimeline() return a reference Have Document::timeline() / Document::transitionTimeline() return a reference instead of a pointer as they can never return null. This makes the calling code look safer and gets rid of a few unnecessary null checks. R=adamk Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167940

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -40 lines) Patch
M Source/core/animation/AnimationTest.cpp View 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/animation/DocumentAnimation.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/DocumentAnimations.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/animation/DocumentTimelineTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/ElementAnimation.cpp View 3 chunks +6 lines, -9 lines 0 comments Download
M Source/core/animation/css/CSSAnimations.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/dom/Document.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +2 lines, -7 lines 0 comments Download
M Source/core/testing/Internals.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Inactive
6 years, 10 months ago (2014-02-26 19:00:35 UTC) #1
adamk
lgtm
6 years, 10 months ago (2014-02-26 19:14:42 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/176903004/1
6 years, 10 months ago (2014-02-26 19:15:10 UTC) #3
commit-bot: I haz the power
6 years, 9 months ago (2014-02-26 23:27:06 UTC) #4
Message was sent while issue was closed.
Change committed as 167940

Powered by Google App Engine
This is Rietveld 408576698