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

Issue 2705163008: Cleanup the SVGTreeScopeResources interface (Closed)

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

Description

Cleanup the SVGTreeScopeResources interface After some previous refactoring, some methods no longer need to be public, and some methods can be folded into others to avoid some hash- lookups. Also use HashMap::removeAll in removeElementFromPendingResources, change some methods to use references and hide a longish typename with 'auto'. BUG=454767 Review-Url: https://codereview.chromium.org/2705163008 Cr-Commit-Position: refs/heads/master@{#452645} Committed: https://chromium.googlesource.com/chromium/src/+/52b947642a5a9fd60c5fbf61419cca26b1fd72ec

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Messages

Total messages: 24 (16 generated)
fs
3 years, 10 months ago (2017-02-23 13:03:00 UTC) #5
Stephen Chennney
https://codereview.chromium.org/2705163008/diff/1/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp File third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp (right): https://codereview.chromium.org/2705163008/diff/1/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp#newcode123 third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp:123: m_pendingResources.removeAll(toBeRemoved); From memory this has to come after the ...
3 years, 10 months ago (2017-02-23 17:00:50 UTC) #8
fs
https://codereview.chromium.org/2705163008/diff/1/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp File third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp (right): https://codereview.chromium.org/2705163008/diff/1/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp#newcode123 third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp:123: m_pendingResources.removeAll(toBeRemoved); On 2017/02/23 at 17:00:50, Stephen Chennney wrote: > ...
3 years, 10 months ago (2017-02-23 17:10:45 UTC) #9
Stephen Chennney
On 2017/02/23 17:10:45, fs wrote: > https://codereview.chromium.org/2705163008/diff/1/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp > File third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp (right): > > https://codereview.chromium.org/2705163008/diff/1/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp#newcode123 > ...
3 years, 10 months ago (2017-02-23 17:23:52 UTC) #10
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/2705163008/1
3 years, 10 months ago (2017-02-23 17:27:07 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/371388)
3 years, 10 months ago (2017-02-23 17:36:26 UTC) #14
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/2705163008/20001
3 years, 10 months ago (2017-02-23 21:48:22 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 21:58:08 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/52b947642a5a9fd60c5fbf61419c...

Powered by Google App Engine
This is Rietveld 408576698