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

Issue 27648002: Refine toRenderSVGResourceContainer() (Closed)

Created:
7 years, 2 months ago by kangil_
Modified:
7 years, 2 months ago
Reviewers:
pdr.
CC:
blink-reviews, zoltan1, eae+blinkwatch, leviw+renderwatch, blink-layers+watch_chromium.org, f(malita), jchaffraix+rendering, pdr, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Refine toRenderSVGResourceContainer() As other toFooElements do, this patch checks security vulnerability in every use of toRenderSVGResourceContainer. Plus, small binary size gain on content_shell(linux 64bit release build) by 0.17K as it removes same function from RenderObject. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160042

Patch Set 1 #

Total comments: 1

Patch Set 2 : Take comment into consideration #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -20 lines) Patch
M Source/core/rendering/RenderLayer.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayerFilterInfo.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGGradientStop.cpp View 2 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceContainer.h View 2 2 chunks +15 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceContainer.cpp View 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/SVGRenderTreeAsText.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/svg/SVGResourcesCycleSolver.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
kangil_
review please? :)
7 years, 2 months ago (2013-10-17 03:06:45 UTC) #1
pdr.
Nice patch. LGTM with one minor change. https://codereview.chromium.org/27648002/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp File Source/core/rendering/svg/SVGRenderTreeAsText.cpp (right): https://codereview.chromium.org/27648002/diff/1/Source/core/rendering/svg/SVGRenderTreeAsText.cpp#newcode486 Source/core/rendering/svg/SVGRenderTreeAsText.cpp:486: RenderSVGResourceContainer* resource ...
7 years, 2 months ago (2013-10-17 21:12:51 UTC) #2
kangil_
On 2013/10/17 21:12:51, pdr wrote: > Nice patch. LGTM with one minor change. > > ...
7 years, 2 months ago (2013-10-18 02:37:07 UTC) #3
pdr.
On 2013/10/18 02:37:07, kangil_ wrote: > On 2013/10/17 21:12:51, pdr wrote: > > Nice patch. ...
7 years, 2 months ago (2013-10-18 03:00:12 UTC) #4
kangil_
> I think you may just be hitting const correctness issues. Try this out: > ...
7 years, 2 months ago (2013-10-18 03:21:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kangil.han@samsung.com/27648002/24001
7 years, 2 months ago (2013-10-18 03:21:43 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=8821
7 years, 2 months ago (2013-10-18 18:08:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kangil.han@samsung.com/27648002/24001
7 years, 2 months ago (2013-10-20 23:34:02 UTC) #8
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/svg/RenderSVGResourceContainer.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-20 23:34:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kangil.han@samsung.com/27648002/204001
7 years, 2 months ago (2013-10-21 00:35:17 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=8979
7 years, 2 months ago (2013-10-21 02:12:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kangil.han@samsung.com/27648002/204001
7 years, 2 months ago (2013-10-21 02:13:57 UTC) #12
commit-bot: I haz the power
7 years, 2 months ago (2013-10-21 02:54:26 UTC) #13
Message was sent while issue was closed.
Change committed as 160042

Powered by Google App Engine
This is Rietveld 408576698