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

Issue 18045006: Use toSVGFontElement() instead of static_cast<SVGFontElement*> (Closed)

Created:
7 years, 5 months ago by gyuyoung-inactive
Modified:
7 years, 5 months ago
Reviewers:
tkent, pdr.
CC:
blink-reviews, eae+blinkwatch, dglazkov+blink, f(malita), gavinp+loader_chromium.org, pdr, Stephen Chennney, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Use toSVGFontElement() instead of static_cast<SVGFontElement*> As a step to change static_cast with toXXX, static_cast<SVGFontElement*> can be changed with toSVGFontElement(). BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153761

Patch Set 1 #

Patch Set 2 : Fixed svg layout test #

Total comments: 5

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -23 lines) Patch
M Source/core/loader/cache/CachedFont.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFontElement.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M Source/core/svg/SVGFontFaceElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGGlyphElement.cpp View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M Source/core/svg/SVGHKernElement.cpp View 1 2 3 2 chunks +4 lines, -8 lines 0 comments Download
M Source/core/svg/SVGVKernElement.cpp View 1 2 3 2 chunks +5 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
gyuyoung-inactive
Add tkent as reviewer.
7 years, 5 months ago (2013-07-05 06:50:34 UTC) #1
tkent
This patch won't work. Please run SVG layout tests locally, or use try bots.
7 years, 5 months ago (2013-07-05 12:29:41 UTC) #2
gyuyoung-inactive
I can't run layout test now. It looks someone moved it to new place. I ...
7 years, 5 months ago (2013-07-05 17:40:24 UTC) #3
gyuyoung-inactive
There was wrong casting in SVGFontElement.h. It is fixed now.
7 years, 5 months ago (2013-07-06 04:18:43 UTC) #4
tkent
https://codereview.chromium.org/18045006/diff/12001/Source/core/svg/SVGGlyphElement.cpp File Source/core/svg/SVGGlyphElement.cpp (right): https://codereview.chromium.org/18045006/diff/12001/Source/core/svg/SVGGlyphElement.cpp#newcode50 Source/core/svg/SVGGlyphElement.cpp:50: if (SVGFontElement* element = toSVGFontElement(fontNode)) Because fontNode is non-null, ...
7 years, 5 months ago (2013-07-06 06:14:37 UTC) #5
gyuyoung-inactive
On 2013/07/06 06:14:37, tkent wrote: Fixed all. Thanks.
7 years, 5 months ago (2013-07-07 14:53:18 UTC) #6
gyuyoung-inactive
tkent, could you take a look this again ?
7 years, 5 months ago (2013-07-08 07:16:30 UTC) #7
pdr.
On 2013/07/08 07:16:30, gyuyoung wrote: > tkent, could you take a look this again ? ...
7 years, 5 months ago (2013-07-08 15:21:46 UTC) #8
tkent
https://codereview.chromium.org/18045006/diff/18001/Source/core/svg/SVGGlyphElement.cpp File Source/core/svg/SVGGlyphElement.cpp (right): https://codereview.chromium.org/18045006/diff/18001/Source/core/svg/SVGGlyphElement.cpp#newcode50 Source/core/svg/SVGGlyphElement.cpp:50: SVGFontElement* element = toSVGFontElement(fontNode); The local variable 'element' is ...
7 years, 5 months ago (2013-07-08 21:31:11 UTC) #9
gyuyoung-inactive
Fixed all again. Thank you for you guys review.
7 years, 5 months ago (2013-07-09 02:50:13 UTC) #10
tkent
lgtm
7 years, 5 months ago (2013-07-09 03:02:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/18045006/29001
7 years, 5 months ago (2013-07-09 03:02:43 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=15368
7 years, 5 months ago (2013-07-09 03:34:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/18045006/29001
7 years, 5 months ago (2013-07-09 05:30:00 UTC) #14
commit-bot: I haz the power
7 years, 5 months ago (2013-07-09 07:54:57 UTC) #15
Message was sent while issue was closed.
Change committed as 153761

Powered by Google App Engine
This is Rietveld 408576698