| Summary: | check-webkit-style should complain about calling zero-parameter constructor with parentheses | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | BJ Burg <bburg> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Given the constructor EmptyInputCursor() { } Good: static PassRefPtr<EmptyInputCursor> create() { return adoptRef(new EmptyInputCursor); } Bad: static PassRefPtr<EmptyInputCursor> create() { return adoptRef(new EmptyInputCursor()); }