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

Issue 2552513002: Rework SVGViewSpec<->SVGSVGElement integration (Closed)

Created:
4 years ago by fs
Modified:
4 years ago
Reviewers:
pdr.
CC:
blink-reviews, chromium-reviews, krit, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rework SVGViewSpec<->SVGSVGElement integration This turns SVGViewSpec into a more independent component, by moving parsing (case) logic into it, and changing adding an accessor interface on SVGSVGElement that allows access to, and handles invalidation of the SVGSVGElement's view properties. The m_useCurrentView is done away with, and instead the code just checks if there's an SVGViewSpec attached. Naturally this also means that care needs to be taken to "detach" the old SVGViewSpec when needed. Committed: https://crrev.com/1f7513d86de98696682b56311a3cd0bd8bb28749 Cr-Commit-Position: refs/heads/master@{#436704}

Patch Set 1 #

Patch Set 2 : Move setup back to SVGSVGElement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -85 lines) Patch
M third_party/WebKit/Source/core/svg/SVGSVGElement.h View 4 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGSVGElement.cpp View 1 8 chunks +42 lines, -72 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGViewSpec.h View 1 2 chunks +10 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGViewSpec.cpp View 1 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
fs
4 years ago (2016-12-03 18:03:35 UTC) #6
pdr.
Removing m_useCurrentView seems much cleaner. Moving the viewSpec management feels a little odd because m_viewspec ...
4 years ago (2016-12-06 06:23:52 UTC) #7
fs
On 2016/12/06 at 06:23:52, pdr wrote: > Removing m_useCurrentView seems much cleaner. Moving the viewSpec ...
4 years ago (2016-12-06 10:03:26 UTC) #10
pdr.
On 2016/12/06 at 10:03:26, fs wrote: > On 2016/12/06 at 06:23:52, pdr wrote: > > ...
4 years ago (2016-12-06 19:31:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2552513002/20001
4 years ago (2016-12-06 19:59:07 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-06 20:42:00 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-06 20:43:42 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1f7513d86de98696682b56311a3cd0bd8bb28749
Cr-Commit-Position: refs/heads/master@{#436704}

Powered by Google App Engine
This is Rietveld 408576698