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

Issue 1760553002: Clean up reparenting in SVGUseElement::expand* (Closed)

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

Description

Clean up reparenting in SVGUseElement::expand* Add a helper moveChildrenToReplacementElement() and use that instead of an open-coded loop. Split transferUseAttributesToReplacedElement() into two, getting rid of one by open-coding the call to cloneDataFromElement(), and make the other one static (while renaming it.) BUG=589682 Committed: https://crrev.com/24b6b4cb2ea2fb34f67dab65f60a53616945d6a5 Cr-Commit-Position: refs/heads/master@{#378992}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move comment; rename parameter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -32 lines) Patch
M third_party/WebKit/Source/core/svg/SVGUseElement.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGUseElement.cpp View 1 4 chunks +29 lines, -30 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
fs
4 years, 9 months ago (2016-03-02 15:47:41 UTC) #4
pdr.
LGTM https://codereview.chromium.org/1760553002/diff/1/third_party/WebKit/Source/core/svg/SVGUseElement.cpp File third_party/WebKit/Source/core/svg/SVGUseElement.cpp (right): https://codereview.chromium.org/1760553002/diff/1/third_party/WebKit/Source/core/svg/SVGUseElement.cpp#newcode598 third_party/WebKit/Source/core/svg/SVGUseElement.cpp:598: static void removeAttributesFromReplacementElement(SVGElement& to) It looks like this ...
4 years, 9 months ago (2016-03-02 21:24:35 UTC) #5
fs
https://codereview.chromium.org/1760553002/diff/1/third_party/WebKit/Source/core/svg/SVGUseElement.cpp File third_party/WebKit/Source/core/svg/SVGUseElement.cpp (right): https://codereview.chromium.org/1760553002/diff/1/third_party/WebKit/Source/core/svg/SVGUseElement.cpp#newcode598 third_party/WebKit/Source/core/svg/SVGUseElement.cpp:598: static void removeAttributesFromReplacementElement(SVGElement& to) On 2016/03/02 at 21:24:35, pdr ...
4 years, 9 months ago (2016-03-02 21:30:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1760553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1760553002/20001
4 years, 9 months ago (2016-03-03 10:13:38 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-03 10:18:54 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 10:20:25 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/24b6b4cb2ea2fb34f67dab65f60a53616945d6a5
Cr-Commit-Position: refs/heads/master@{#378992}

Powered by Google App Engine
This is Rietveld 408576698