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

Issue 103393002: Use DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION to generate toSVGSMILElement() (Closed)

Created:
7 years ago by gyuyoung-inactive
Modified:
7 years ago
Reviewers:
tkent
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), rwlbuis, dstockwell, Timothy Loh, krit, f(malita), darktears, pdr, Stephen Chennney, Steve Block, dino_apple.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Use DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION to generate toSVGSMILElement() DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION supports more plenty toFoo helper functions than manual toFoo(). This cl changes isSMILElement from static member to inline function to generate toSVGSMILElement(). BUG=309516 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163161

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -16 lines) Patch
M Source/core/svg/SVGAElement.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/animation/SMILTimeContainer.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/animation/SVGSMILElement.h View 2 3 chunks +6 lines, -5 lines 0 comments Download
M Source/core/svg/animation/SVGSMILElement.cpp View 1 2 3 4 2 chunks +1 line, -9 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
gyuyoung-inactive
Add tkent.
7 years ago (2013-12-04 01:42:47 UTC) #1
tkent
https://codereview.chromium.org/103393002/diff/20001/Source/core/svg/animation/SVGSMILElement.h File Source/core/svg/animation/SVGSMILElement.h (right): https://codereview.chromium.org/103393002/diff/20001/Source/core/svg/animation/SVGSMILElement.h#newcode241 Source/core/svg/animation/SVGSMILElement.h:241: inline bool isSVGSMILElement(Node* node) Having both of a pointer ...
7 years ago (2013-12-04 01:55:15 UTC) #2
gyuyoung-inactive
On 2013/12/04 01:55:15, tkent wrote: > https://codereview.chromium.org/103393002/diff/20001/Source/core/svg/animation/SVGSMILElement.h > File Source/core/svg/animation/SVGSMILElement.h (right): > > https://codereview.chromium.org/103393002/diff/20001/Source/core/svg/animation/SVGSMILElement.h#newcode241 > ...
7 years ago (2013-12-04 02:07:27 UTC) #3
gyuyoung-inactive
On 2013/12/04 02:07:27, gyuyoung wrote: > On 2013/12/04 01:55:15, tkent wrote: > > > https://codereview.chromium.org/103393002/diff/20001/Source/core/svg/animation/SVGSMILElement.h ...
7 years ago (2013-12-04 03:45:10 UTC) #4
tkent
https://codereview.chromium.org/103393002/diff/40001/Source/core/svg/animation/SMILTimeContainer.cpp File Source/core/svg/animation/SMILTimeContainer.cpp (right): https://codereview.chromium.org/103393002/diff/40001/Source/core/svg/animation/SMILTimeContainer.cpp#newcode232 Source/core/svg/animation/SMILTimeContainer.cpp:232: if (element && isSVGSMILElement(*element)) |element &&| is redundant because ...
7 years ago (2013-12-04 03:50:01 UTC) #5
gyuyoung-inactive
On 2013/12/04 03:50:01, tkent wrote: > https://codereview.chromium.org/103393002/diff/40001/Source/core/svg/animation/SMILTimeContainer.cpp > File Source/core/svg/animation/SMILTimeContainer.cpp (right): > > https://codereview.chromium.org/103393002/diff/40001/Source/core/svg/animation/SMILTimeContainer.cpp#newcode232 > ...
7 years ago (2013-12-04 03:53:34 UTC) #6
tkent
https://codereview.chromium.org/103393002/diff/60001/Source/core/svg/animation/SVGSMILElement.cpp File Source/core/svg/animation/SVGSMILElement.cpp (right): https://codereview.chromium.org/103393002/diff/60001/Source/core/svg/animation/SVGSMILElement.cpp#newcode581 Source/core/svg/animation/SVGSMILElement.cpp:581: if (!condition.m_syncbase && !isSVGSMILElement(*condition.m_syncbase)) { This is still incorrect. ...
7 years ago (2013-12-04 05:33:15 UTC) #7
gyuyoung-inactive
https://codereview.chromium.org/103393002/diff/60001/Source/core/svg/animation/SVGSMILElement.cpp File Source/core/svg/animation/SVGSMILElement.cpp (right): https://codereview.chromium.org/103393002/diff/60001/Source/core/svg/animation/SVGSMILElement.cpp#newcode581 Source/core/svg/animation/SVGSMILElement.cpp:581: if (!condition.m_syncbase && !isSVGSMILElement(*condition.m_syncbase)) { On 2013/12/04 05:33:16, tkent ...
7 years ago (2013-12-04 05:54:44 UTC) #8
tkent
lgtm
7 years ago (2013-12-04 05:56:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/103393002/80001
7 years ago (2013-12-04 05:56:16 UTC) #10
commit-bot: I haz the power
7 years ago (2013-12-04 10:16:07 UTC) #11
Message was sent while issue was closed.
Change committed as 163161

Powered by Google App Engine
This is Rietveld 408576698