Summary: | Remove the SVG tear off objects for SVGPoint, SVGPointList and SVGAnimatedPointList | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> | ||||||||
Component: | SVG | Assignee: | Said Abou-Hallawa <sabouhallawa> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | dino, jonlee, mcatanzaro, rniwa, simon.fraser, thorton, webkit-bug-importer, zimmermann | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | 196065 | ||||||||||
Bug Blocks: | 191237, 196084 | ||||||||||
Attachments: |
|
Description
Said Abou-Hallawa
2019-03-18 13:08:51 PDT
Created attachment 365048 [details]
Patch
Created attachment 365050 [details]
Patch for review
Is a new patch going to be uploaded? Created attachment 365520 [details]
Patch
Comment on attachment 365520 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=365520&action=review > Source/WebCore/svg/SVGPointList.h:82 > + append(SVGPoint::create(FloatPoint(xPos, yPos))); append(SVGPoint::create({ xPos, yPos })); Committed r243336: <https://trac.webkit.org/changeset/243336> It introduced a warning spam. Please remember to be careful about pessimizing move: DerivedSources/ForwardingHeaders/wtf/StdLibExtras.h:572:64: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 572 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ ../../Source/WebCore/svg/properties/SVGPropertyList.h:120:16: note: in expansion of macro ‘WTFMove’ 120 | return WTFMove(item); | ^~~~~~~ DerivedSources/ForwardingHeaders/wtf/StdLibExtras.h:572:64: note: remove ‘std::move’ call 572 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value) | ^ ../../Source/WebCore/svg/properties/SVGPropertyList.h:120:16: note: in expansion of macro ‘WTFMove’ 120 | return WTFMove(item); | ^~~~~~~ Committed r243421: <https://trac.webkit.org/changeset/243421> |