Summary: | Add test to ensure that SVGDocumentExtensions::rebuildElements() doesn't rebuild invalid elements | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||||
Component: | WebCore Misc. | Assignee: | Daniel Bates <dbates> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | andersca, bunhere, cdumez, commit-queue, darin, ddkilzer, d-r, fmalita, gyuyoung.kim, je_julie.kim, pdr, sam, schenney, sergio | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 134500 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Daniel Bates
2014-06-27 15:23:32 PDT
Created attachment 234024 [details]
Patch and layout test
Comment on attachment 234024 [details]
Patch and layout test
I don’t think this is an improvement.
(In reply to comment #0) > Currently we use std::move() to implicitly swap Vector objects. No, we use it to move a vector. There is no swapping going on; we move the vector from the object into a local variable. Comment on attachment 234024 [details]
Patch and layout test
Clearing review flag. After talking with Darin Adler and Anders Carlsson today (06/30), a better approach is to come up with a WTF::move() function that asserts we aren't called with a const value.
(In reply to comment #5) > (From update of attachment 234024 [details]) > Clearing review flag. After talking with Darin Adler and Anders Carlsson today (06/30), a better approach is to come up with a WTF::move() function that asserts we aren't called with a const value. Filed bug #134500 to add WTF::move(). I'll repurpose this bug for adding the layout test, included in attachment #234024 [details]. Created attachment 234378 [details]
Layout test
Comment on attachment 234378 [details]
Layout test
r=me
Comment on attachment 234378 [details] Layout test Clearing flags on attachment: 234378 Committed r170847: <http://trac.webkit.org/changeset/170847> All reviewed patches have been landed. Closing bug. |