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

Issue 1977763002: Remove OwnPtr::release() calls in core/ (part 1). (Closed)

Created:
4 years, 7 months ago by Yuta Kitamura
Modified:
4 years, 7 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove OwnPtr::release() calls in core/ (part 1). OwnPtr::release() calls can be (1) replaced with std::move(), or (2) removed entirely (in certain "return" statements). BUG=611660 Committed: https://crrev.com/40d965d63504a9446ec8d67b4663d7f18e066e0b Cr-Commit-Position: refs/heads/master@{#393804}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove static_pointer_cast<>s. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -160 lines) Patch
M third_party/WebKit/Source/core/animation/Animation.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp View 1 13 chunks +19 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSClipInterpolationType.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp View 1 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp View 5 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp View 1 4 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp View 3 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimations.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InterpolableValue.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/InterpolableValueTest.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InterpolationType.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InterpolationValue.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InvalidatableInterpolation.cpp View 5 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ListInterpolationFunctions.cpp View 3 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/PathInterpolationFunctions.cpp View 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/SVGIntegerOptionalIntegerInterpolationType.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGLengthListInterpolationType.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGNumberListInterpolationType.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGPathSegInterpolationFunctions.cpp View 1 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGRectInterpolationType.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.cpp View 1 7 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ShadowInterpolationFunctions.cpp View 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/TypedInterpolationValue.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1977763002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1977763002/1
4 years, 7 months ago (2016-05-13 07:44:21 UTC) #2
Yuta Kitamura
tzik: PTAL? If you have a suggestion on the improvements on static_pointer_cast, please let me ...
4 years, 7 months ago (2016-05-13 07:48:39 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-13 09:15:35 UTC) #7
alancutter (OOO until 2018)
lgtm
4 years, 7 months ago (2016-05-13 11:57:58 UTC) #9
tzik
https://codereview.chromium.org/1977763002/diff/1/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp File third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp (right): https://codereview.chromium.org/1977763002/diff/1/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp#newcode201 third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.cpp:201: return static_pointer_cast<InterpolableValue>(std::move(list)); Can we just "return std::move(list);" here? It ...
4 years, 7 months ago (2016-05-16 02:32:38 UTC) #10
Yuta Kitamura
tzik: PTAL?
4 years, 7 months ago (2016-05-16 04:30:44 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1977763002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1977763002/20001
4 years, 7 months ago (2016-05-16 04:31:02 UTC) #13
tzik
lgtm
4 years, 7 months ago (2016-05-16 06:04:52 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-16 06:37:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1977763002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1977763002/20001
4 years, 7 months ago (2016-05-16 07:42:51 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-16 07:47:12 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 07:48:50 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/40d965d63504a9446ec8d67b4663d7f18e066e0b
Cr-Commit-Position: refs/heads/master@{#393804}

Powered by Google App Engine
This is Rietveld 408576698