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

Issue 57643004: Pass RenderStyle / RenderObject by reference in more places (Closed)

Created:
7 years, 1 month ago by Inactive
Modified:
7 years, 1 month ago
Reviewers:
dglazkov, adamk
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), zoltan1, eae+blinkwatch, dglazkov+blink, leviw+renderwatch, dstockwell, Timothy Loh, apavlov+blink_chromium.org, adamk+blink_chromium.org, jchaffraix+rendering, darktears, bemjb+rendering_chromium.org, Steve Block, dino_apple.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Pass RenderStyle / RenderObject by reference in more places Pass RenderStyle / RenderObject by reference in more places instead of by pointer, when it cannot be null. This makes the code look safer and gets rid of unnecessary null checks. R=adamk Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161644

Patch Set 1 #

Patch Set 2 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+417 lines, -418 lines) Patch
M Source/core/animation/css/CSSAnimatableValueFactory.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/animation/css/CSSAnimatableValueFactory.cpp View 1 9 chunks +109 lines, -109 lines 0 comments Download
M Source/core/animation/css/CSSAnimations.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/animation/css/CSSAnimations.cpp View 6 chunks +13 lines, -13 lines 0 comments Download
M Source/core/css/BasicShapeFunctions.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/BasicShapeFunctions.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.h View 1 chunk +5 lines, -5 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 57 chunks +184 lines, -187 lines 0 comments Download
M Source/core/css/CSSValuePool.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSValuePool.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/SVGCSSComputedStyleDeclaration.cpp View 3 chunks +7 lines, -7 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.cpp View 1 6 chunks +6 lines, -6 lines 0 comments Download
M Source/core/dom/Document.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 10 chunks +14 lines, -13 lines 0 comments Download
M Source/core/dom/Range.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/frame/animation/AnimationBase.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/animation/AnimationBase.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/animation/AnimationController.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/animation/AnimationController.cpp View 4 chunks +14 lines, -14 lines 0 comments Download
M Source/core/frame/animation/AnimationControllerPrivate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/animation/CompositeAnimation.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/frame/animation/CompositeAnimation.cpp View 9 chunks +17 lines, -17 lines 0 comments Download
M Source/core/frame/animation/ImplicitAnimation.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/animation/ImplicitAnimation.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/animation/KeyframeAnimation.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/animation/KeyframeAnimation.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderObject.h View 1 1 chunk +7 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/style/KeyframeList.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Inactive
7 years, 1 month ago (2013-11-04 16:28:09 UTC) #1
Inactive
On 2013/11/04 16:28:09, Chris Dumez wrote: ping review?
7 years, 1 month ago (2013-11-08 16:04:27 UTC) #2
dglazkov
lgtm
7 years, 1 month ago (2013-11-08 17:45:09 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/57643004/1
7 years, 1 month ago (2013-11-08 19:49:25 UTC) #4
commit-bot: I haz the power
Failed to apply patch for Source/core/css/CSSComputedStyleDeclaration.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-08 19:49:37 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/57643004/90001
7 years, 1 month ago (2013-11-08 20:02:36 UTC) #6
commit-bot: I haz the power
7 years, 1 month ago (2013-11-08 20:58:21 UTC) #7
Message was sent while issue was closed.
Change committed as 161644

Powered by Google App Engine
This is Rietveld 408576698