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

Issue 2821333002: Move the BreakCycle() method from the cycle solver to SVGResources (Closed)

Created:
3 years, 8 months ago by fs
Modified:
3 years, 8 months ago
Reviewers:
pdr., Stephen Chennney
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, fmalita+watch_chromium.org, fs, gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the BreakCycle() method from the cycle solver to SVGResources This means we can get rid of the SVGResources::ResetFoo methods, and thus the "friend"-ship between SVGResourcesCycleSolver and SVGResources. This also reduces the dependencies between the cycle solver and specific resource types. Choose a more "semantic" name (ClearReferencesTo), and also remove the unused DEBUG_CYCLE_DETECTION define. Review-Url: https://codereview.chromium.org/2821333002 Cr-Commit-Position: refs/heads/master@{#465535} Committed: https://chromium.googlesource.com/chromium/src/+/4f2cb99d84ed0aecd300a46bd6060254558e7c9d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -124 lines) Patch
M third_party/WebKit/Source/core/layout/svg/SVGResources.h View 1 chunk +1 line, -13 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGResources.cpp View 10 chunks +52 lines, -53 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGResourcesCycleSolver.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGResourcesCycleSolver.cpp View 2 chunks +2 lines, -57 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
fs
3 years, 8 months ago (2017-04-18 19:24:29 UTC) #6
pdr.
LGTM, nice cleanup!
3 years, 8 months ago (2017-04-19 02:06:56 UTC) #7
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/2821333002/1
3 years, 8 months ago (2017-04-19 08:45:28 UTC) #9
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 08:49:28 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/4f2cb99d84ed0aecd300a46bd606...

Powered by Google App Engine
This is Rietveld 408576698