Bug 32117 - REGRESSION (r51627): 3 SVG tests are failing
Summary: REGRESSION (r51627): 3 SVG tests are failing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL: http://build.webkit.org/results/Leopa...
Keywords: InRadar, LayoutTestFailure
Depends on:
Blocks:
 
Reported: 2009-12-03 07:35 PST by Adam Roben (:aroben)
Modified: 2009-12-03 12:38 PST (History)
3 users (show)

See Also:


Attachments
Patch (9.52 KB, patch)
2009-12-03 11:25 PST, Oliver Hunt
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2009-12-03 07:35:54 PST
r51627 <http://trac.webkit.org/changeset/51627> has caused 3 regression tests to fail (including the test that was added in that revision!). See <http://build.webkit.org/results/Leopard%20Intel%20Debug%20(Tests)/r51627%20(7825)/results.html> for the failures.
Comment 1 Adam Roben (:aroben) 2009-12-03 07:36:36 PST
<rdar://problem/7440556>
Comment 2 Oliver Hunt 2009-12-03 11:25:16 PST
Created attachment 44261 [details]
Patch
Comment 3 mitz 2009-12-03 11:29:37 PST
Comment on attachment 44261 [details]
Patch

r=me modulo typos
Comment 4 WebKit Review Bot 2009-12-03 11:29:39 PST
Attachment 44261 [details] did not pass style-queue:

Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
WebCore/svg/SVGListTraits.h:32:  More than one command on the same line  [whitespace/newline] [4]
Total errors found: 1
Comment 5 Oliver Hunt 2009-12-03 11:35:13 PST
Committed r51649
Comment 6 Adam Roben (:aroben) 2009-12-03 12:38:40 PST
Comment on attachment 44261 [details]
Patch


> +    template<typename ItemPtr>
> +    struct SVGListTraits<true, ItemPtr*> {
> +        static ItemPtr nullItem() { return 0; }
> +        static bool isNull(ItemPtr it) { return !it; }
> +    };

Shouldn't that be:

static ItemPtr* nullItem() { return 0; }
static bool isNull(ItemPtr* it) { return !it; }

> +        static bool isNull(RefPtr<ItemPtr> it) { return !it; }

This would be more efficient if it took a reference to const.