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

Issue 102353003: [SVG] Refactoring the logic to handle eventBase dependency (Closed)

Created:
7 years ago by pavane
Modified:
6 years, 11 months ago
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), rwlbuis, dstockwell, Timothy Loh, krit, f(malita), darktears, pdr, Stephen Chennney, Steve Block, dino_apple.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[SVG] Refactoring the logic to handle eventBase dependency Our problem here is we want the dependent element to get notified whenever a change occurs on eventBase. The current logic to handle this scenario is very inefficient as it is re-connecting the conditions on every loop. Instead, the same can be handled using SVGDocumentExtensions pattern to improve efficiency. syncBases and eventBases are functionally different hence separating their code paths to handle them properly. R=pdr@chromium.org, schenney@chromium.org, dschulze@chromium.org, fmalita@chromium.org, rob.buis@samsung.com BUG=323915 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164697

Patch Set 1 : #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : rebaselined #

Patch Set 5 : rebaselined and fixed compilation errors #

Patch Set 6 : Fixed assert crash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -147 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M LayoutTests/svg/animations/repeatn-remove-add-animation-expected.txt View 1 1 chunk +96 lines, -96 lines 0 comments Download
M Source/core/svg/animation/SVGSMILElement.h View 1 2 4 chunks +9 lines, -7 lines 0 comments Download
M Source/core/svg/animation/SVGSMILElement.cpp View 1 2 3 4 5 11 chunks +65 lines, -41 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
pdr.
At a high level I think this is a good direction. Looking forward to this ...
6 years, 11 months ago (2014-01-06 18:32:24 UTC) #1
pavane
Changes Done. Please have a look at this patch
6 years, 11 months ago (2014-01-06 19:55:19 UTC) #2
pavane
Those layout tests are failing because of neglecting the fact that eventBase can be other ...
6 years, 11 months ago (2014-01-06 19:59:35 UTC) #3
pdr.
Looking good. Lets do one more round. https://codereview.chromium.org/102353003/diff/200001/Source/core/svg/animation/SVGSMILElement.cpp File Source/core/svg/animation/SVGSMILElement.cpp (right): https://codereview.chromium.org/102353003/diff/200001/Source/core/svg/animation/SVGSMILElement.cpp#newcode199 Source/core/svg/animation/SVGSMILElement.cpp:199: document().accessSVGExtensions()->removeAllTargetReferencesForElement(this); This ...
6 years, 11 months ago (2014-01-07 00:25:27 UTC) #4
pavane
Changes done. https://codereview.chromium.org/102353003/diff/200001/Source/core/svg/animation/SVGSMILElement.cpp File Source/core/svg/animation/SVGSMILElement.cpp (right): https://codereview.chromium.org/102353003/diff/200001/Source/core/svg/animation/SVGSMILElement.cpp#newcode199 Source/core/svg/animation/SVGSMILElement.cpp:199: document().accessSVGExtensions()->removeAllTargetReferencesForElement(this); On 2014/01/07 00:25:28, pdr wrote: > ...
6 years, 11 months ago (2014-01-07 18:20:58 UTC) #5
pdr.
LGTM
6 years, 11 months ago (2014-01-07 18:46:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavan.e@samsung.com/102353003/290001
6 years, 11 months ago (2014-01-07 18:48:10 UTC) #7
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-07 18:48:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavan.e@samsung.com/102353003/290001
6 years, 11 months ago (2014-01-07 18:49:02 UTC) #9
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-07 18:49:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavan.e@samsung.com/102353003/380001
6 years, 11 months ago (2014-01-07 19:03:40 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=6613
6 years, 11 months ago (2014-01-07 20:47:08 UTC) #12
pdr.
On 2014/01/07 20:47:08, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 11 months ago (2014-01-07 21:34:08 UTC) #13
pavane
On 2014/01/07 21:34:08, pdr wrote: > On 2014/01/07 20:47:08, I haz the power (commit-bot) wrote: ...
6 years, 11 months ago (2014-01-08 09:45:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavan.e@samsung.com/102353003/540001
6 years, 11 months ago (2014-01-08 09:46:13 UTC) #15
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=6747
6 years, 11 months ago (2014-01-08 12:32:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavan.e@samsung.com/102353003/540001
6 years, 11 months ago (2014-01-08 14:03:56 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=6776
6 years, 11 months ago (2014-01-08 16:40:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavan.e@samsung.com/102353003/790001
6 years, 11 months ago (2014-01-08 17:02:10 UTC) #19
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 19:21:29 UTC) #20
Message was sent while issue was closed.
Change committed as 164697

Powered by Google App Engine
This is Rietveld 408576698