WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
195859
Define the type of SVGPropertyOwnerRegistry for all SVG elements
https://bugs.webkit.org/show_bug.cgi?id=195859
Summary
Define the type of SVGPropertyOwnerRegistry for all SVG elements
Said Abou-Hallawa
Reported
2019-03-16 23:44:05 PDT
SVGPropertyOwnerRegistry will eventually replace SVGAttributeOwnerProxyImpl.
Attachments
Patch
(116.08 KB, patch)
2019-03-16 23:49 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Patch
(128.23 KB, patch)
2019-03-18 15:53 PDT
,
Said Abou-Hallawa
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Said Abou-Hallawa
Comment 1
2019-03-16 23:49:24 PDT
Created
attachment 364960
[details]
Patch
Simon Fraser (smfr)
Comment 2
2019-03-18 13:28:48 PDT
Comment on
attachment 364960
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=364960&action=review
> Source/WebCore/svg/SVGFEBlendElement.h:71 > + using PropertyRegistry = SVGPropertyOwnerRegistry<SVGFEBlendElement, SVGFilterPrimitiveStandardAttributes>; > + const SVGPropertyRegistry& propertyRegistry() const final { return m_propertyRegistry; } > + > + static bool isKnownAttribute(const QualifiedName& attributeName) > + { > + return AttributeOwnerProxy::isKnownAttribute(attributeName) || PropertyRegistry::isKnownAttribute(attributeName); > + }
Lots of classes have this same boilerplate. Can it be pushed to a base class?
Said Abou-Hallawa
Comment 3
2019-03-18 15:35:36 PDT
Comment on
attachment 364960
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=364960&action=review
>> Source/WebCore/svg/SVGFEBlendElement.h:71 >> + } > > Lots of classes have this same boilerplate. Can it be pushed to a base class?
It is a static function which uses different types of AttributeOwnerProxy and PropertyRegistry so it can't be virtual. But it will go away once the tear-off objects are removed.
Said Abou-Hallawa
Comment 4
2019-03-18 15:53:16 PDT
Created
attachment 365083
[details]
Patch
WebKit Commit Bot
Comment 5
2019-03-18 16:33:17 PDT
Comment on
attachment 365083
[details]
Patch Clearing flags on attachment: 365083 Committed
r243114
: <
https://trac.webkit.org/changeset/243114
>
WebKit Commit Bot
Comment 6
2019-03-18 16:33:18 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7
2019-03-18 16:43:31 PDT
<
rdar://problem/48999640
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug