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

Issue 23295010: Remove toSVGStopElement(SVGElement*) because it can be covered by toSVGStopElement(Node*) (Closed)

Created:
7 years, 4 months ago by gyuyoung-inactive
Modified:
7 years, 4 months ago
Reviewers:
tkent
CC:
blink-reviews, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, f(malita), jchaffraix+rendering, pdr, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

We don't need to keep two inline functions because toSVGStopElement(Node*) can support all casting. BUG=N/A Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156444

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -7 lines) Patch
M Source/core/svg/SVGStopElement.h View 1 2 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
gyuyoung-inactive
Hi Kent, It looks I added unneeded inline function on r156274. If we use toSVGElement(), ...
7 years, 4 months ago (2013-08-19 08:32:52 UTC) #1
tkent
https://codereview.chromium.org/23295010/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp File Source/core/rendering/svg/SVGRenderTreeAsText.cpp (right): https://codereview.chromium.org/23295010/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp#newcode628 Source/core/rendering/svg/SVGRenderTreeAsText.cpp:628: SVGStopElement* stopElement = toSVGStopElement(toSVGElement(stop.node())); This looks worse. I don't ...
7 years, 4 months ago (2013-08-19 22:57:12 UTC) #2
gyuyoung-inactive
https://codereview.chromium.org/23295010/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp File Source/core/rendering/svg/SVGRenderTreeAsText.cpp (right): https://codereview.chromium.org/23295010/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp#newcode628 Source/core/rendering/svg/SVGRenderTreeAsText.cpp:628: SVGStopElement* stopElement = toSVGStopElement(toSVGElement(stop.node())); On 2013/08/19 22:57:12, tkent wrote: ...
7 years, 4 months ago (2013-08-20 05:44:53 UTC) #3
tkent
https://codereview.chromium.org/23295010/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp File Source/core/rendering/svg/SVGRenderTreeAsText.cpp (right): https://codereview.chromium.org/23295010/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp#newcode628 Source/core/rendering/svg/SVGRenderTreeAsText.cpp:628: SVGStopElement* stopElement = toSVGStopElement(toSVGElement(stop.node())); On 2013/08/20 05:44:54, gyuyoung wrote: ...
7 years, 4 months ago (2013-08-20 06:09:33 UTC) #4
gyuyoung-inactive
On 2013/08/20 06:09:33, tkent wrote: > https://codereview.chromium.org/23295010/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp > File Source/core/rendering/svg/SVGRenderTreeAsText.cpp (right): > > https://codereview.chromium.org/23295010/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp#newcode628 > ...
7 years, 4 months ago (2013-08-20 06:35:14 UTC) #5
gyuyoung-inactive
On 2013/08/20 06:35:14, gyuyoung wrote: > I think it would be nice if we can ...
7 years, 4 months ago (2013-08-20 08:28:43 UTC) #6
tkent
https://codereview.chromium.org/23295010/diff/8001/Source/core/svg/SVGStopElement.h File Source/core/svg/SVGStopElement.h (right): https://codereview.chromium.org/23295010/diff/8001/Source/core/svg/SVGStopElement.h#newcode55 Source/core/svg/SVGStopElement.h:55: ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::stopTag) || toSVGElement(node)->isGradientStop()); Either of hasTagName() or ...
7 years, 4 months ago (2013-08-20 08:41:52 UTC) #7
gyuyoung-inactive
On 2013/08/20 08:41:52, tkent wrote: > node->hasTagName(SVGNames::stopTag) || toSVGElement(node)->isGradientStop()); > Either of hasTagName() or isGradientStop() ...
7 years, 4 months ago (2013-08-20 10:43:48 UTC) #8
tkent
lgtm
7 years, 4 months ago (2013-08-20 23:27:23 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/23295010/13001
7 years, 4 months ago (2013-08-20 23:27:58 UTC) #10
commit-bot: I haz the power
7 years, 4 months ago (2013-08-21 06:33:16 UTC) #11
Message was sent while issue was closed.
Change committed as 156444

Powered by Google App Engine
This is Rietveld 408576698