Bug 128134

Summary: check-webkit-style should complain about calling zero-parameter constructor with parentheses
Product: WebKit Reporter: Blaze Burg <bburg>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Blaze Burg
Reported 2014-02-03 15:50:50 PST
Given the constructor EmptyInputCursor() { } Good: static PassRefPtr<EmptyInputCursor> create() { return adoptRef(new EmptyInputCursor); } Bad: static PassRefPtr<EmptyInputCursor> create() { return adoptRef(new EmptyInputCursor()); }
Attachments
Note You need to log in before you can comment on or make changes to this bug.