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

Issue 731243002: Move m_paintInvalidationBoundingBox into RenderSVGModelObject (Closed)

Created:
6 years, 1 month ago by fs
Modified:
6 years, 1 month ago
Reviewers:
pdr., f(malita)
CC:
blink-reviews, blink-reviews-rendering, krit, eae+blinkwatch, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, zoltan1
Project:
blink
Visibility:
Public.

Description

Move m_paintInvalidationBoundingBox into RenderSVGModelObject All classes (directly) derived from RenderSVGModelObject [1] carry a member 'FloatRect m_paintInvalidationBoundingBox', and relocating it does increase the size of any of the derived classes. This will allow reducing the number of virtual calls in the paint invalidation code-path, and possibly elsewhere. [1] RenderSVGShape, RenderSVGImage and RenderSVGContainer Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185511

Patch Set 1 #

Total comments: 2

Patch Set 2 : Drop bitfield. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -9 lines) Patch
M Source/core/rendering/svg/RenderSVGContainer.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGImage.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.h View 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGShape.h View 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
fs
Make sense?
6 years, 1 month ago (2014-11-17 17:17:56 UTC) #2
pdr.
Makes sense! LGTM https://codereview.chromium.org/731243002/diff/1/Source/core/rendering/svg/RenderSVGContainer.h File Source/core/rendering/svg/RenderSVGContainer.h (right): https://codereview.chromium.org/731243002/diff/1/Source/core/rendering/svg/RenderSVGContainer.h#newcode88 Source/core/rendering/svg/RenderSVGContainer.h:88: bool m_objectBoundingBoxValid; Did you want to ...
6 years, 1 month ago (2014-11-17 17:22:09 UTC) #3
fs
https://codereview.chromium.org/731243002/diff/1/Source/core/rendering/svg/RenderSVGContainer.h File Source/core/rendering/svg/RenderSVGContainer.h (right): https://codereview.chromium.org/731243002/diff/1/Source/core/rendering/svg/RenderSVGContainer.h#newcode88 Source/core/rendering/svg/RenderSVGContainer.h:88: bool m_objectBoundingBoxValid; On 2014/11/17 17:22:09, pdr wrote: > Did ...
6 years, 1 month ago (2014-11-17 19:04:29 UTC) #4
pdr.
On 2014/11/17 at 19:04:29, fs wrote: > https://codereview.chromium.org/731243002/diff/1/Source/core/rendering/svg/RenderSVGContainer.h > File Source/core/rendering/svg/RenderSVGContainer.h (right): > > https://codereview.chromium.org/731243002/diff/1/Source/core/rendering/svg/RenderSVGContainer.h#newcode88 ...
6 years, 1 month ago (2014-11-17 19:09:19 UTC) #5
fs
On 2014/11/17 19:09:19, pdr wrote: > Lets just remove the ": 1" from m_needsBoundariesUpdate. Done.
6 years, 1 month ago (2014-11-18 08:54:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/731243002/20001
6 years, 1 month ago (2014-11-18 10:18:52 UTC) #8
commit-bot: I haz the power
6 years, 1 month ago (2014-11-18 10:42:41 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185511

Powered by Google App Engine
This is Rietveld 408576698