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

Issue 1471963007: Count usage of #svgView(...) and plain SVG <view> targets (Closed)

Created:
5 years ago by davve
Modified:
5 years ago
CC:
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

Count usage of #svgView(...) and plain SVG <view> targets BUG=562099 Committed: https://crrev.com/160390068163da225476f5fede45323b77cd6f21 Cr-Commit-Position: refs/heads/master@{#361993}

Patch Set 1 #

Patch Set 2 : Update histograms.xml #

Total comments: 4

Patch Set 3 : Limit counting to SVG specific features svgView( and view element targetting #

Patch Set 4 : Rebase #

Patch Set 5 : Add missing expected file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/svg/as-image/resources/svglogo-viewbox.svg View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/as-image/svgview-references-use-counters.html View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/as-image/svgview-references-use-counters-expected.txt View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGSVGElement.cpp View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (10 generated)
davve
PTAL
5 years ago (2015-11-26 13:20:08 UTC) #2
fs
https://codereview.chromium.org/1471963007/diff/20001/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp File third_party/WebKit/Source/core/svg/SVGSVGElement.cpp (right): https://codereview.chromium.org/1471963007/diff/20001/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp#newcode716 third_party/WebKit/Source/core/svg/SVGSVGElement.cpp:716: UseCounter::count(document(), UseCounter::SVGSVGElementFragment); IIRC, this method still gets called when ...
5 years ago (2015-11-26 13:30:24 UTC) #3
davve
https://codereview.chromium.org/1471963007/diff/20001/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp File third_party/WebKit/Source/core/svg/SVGSVGElement.cpp (right): https://codereview.chromium.org/1471963007/diff/20001/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp#newcode716 third_party/WebKit/Source/core/svg/SVGSVGElement.cpp:716: UseCounter::count(document(), UseCounter::SVGSVGElementFragment); On 2015/11/26 13:30:23, fs wrote: > IIRC, ...
5 years ago (2015-11-26 13:35:37 UTC) #4
fs
https://codereview.chromium.org/1471963007/diff/20001/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp File third_party/WebKit/Source/core/svg/SVGSVGElement.cpp (right): https://codereview.chromium.org/1471963007/diff/20001/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp#newcode716 third_party/WebKit/Source/core/svg/SVGSVGElement.cpp:716: UseCounter::count(document(), UseCounter::SVGSVGElementFragment); On 2015/11/26 at 13:35:37, David Vest wrote: ...
5 years ago (2015-11-26 13:38:36 UTC) #5
davve
https://codereview.chromium.org/1471963007/diff/20001/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp File third_party/WebKit/Source/core/svg/SVGSVGElement.cpp (right): https://codereview.chromium.org/1471963007/diff/20001/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp#newcode716 third_party/WebKit/Source/core/svg/SVGSVGElement.cpp:716: UseCounter::count(document(), UseCounter::SVGSVGElementFragment); On 2015/11/26 13:38:36, fs wrote: > On ...
5 years ago (2015-11-26 13:43:20 UTC) #6
davve
Now limited actual m_useCurrentView = true code paths over two counters.
5 years ago (2015-11-26 14:16:05 UTC) #7
fs
On 2015/11/26 at 14:16:05, davve wrote: > Now limited actual m_useCurrentView = true code paths ...
5 years ago (2015-11-26 14:19:36 UTC) #9
davve
5 years ago (2015-11-26 14:20:52 UTC) #11
philipj_slow
lgtm
5 years ago (2015-11-26 14:27:14 UTC) #12
Ilya Sherman
histograms.xml lgtm
5 years ago (2015-11-26 20:51:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471963007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471963007/60001
5 years ago (2015-11-27 09:22:41 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/140981)
5 years ago (2015-11-27 10:52:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471963007/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471963007/80001
5 years ago (2015-11-27 11:33:34 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-11-27 13:21:25 UTC) #23
commit-bot: I haz the power
5 years ago (2015-11-27 13:22:27 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/160390068163da225476f5fede45323b77cd6f21
Cr-Commit-Position: refs/heads/master@{#361993}

Powered by Google App Engine
This is Rietveld 408576698