Bug 27599

Summary: 'const unsigned' in return value
Product: WebKit Reporter: Xan Lopez <xan.lopez>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
linenoconst.patch mrowe: review+

Xan Lopez
Reported 2009-07-23 00:23:17 PDT
r46179 (bug #27387) added the ErrorEvent.h file, with a method 'lineno' declared as: const unsigned lineno() const { return m_lineNumber; } The 'const unsigned' value was (probably) a copy&paste mistake, since it does not really make any sense. Patch to fix this attached.
Attachments
linenoconst.patch (1.60 KB, patch)
2009-07-23 00:25 PDT, Xan Lopez
mrowe: review+
Xan Lopez
Comment 1 2009-07-23 00:25:15 PDT
Created attachment 33319 [details] linenoconst.patch Remove 'const' modifier.
Mark Rowe (bdash)
Comment 2 2009-07-23 00:58:35 PDT
Comment on attachment 33319 [details] linenoconst.patch r=me
Xan Lopez
Comment 3 2009-07-23 01:01:44 PDT
Landed as r46260, closing.
Note You need to log in before you can comment on or make changes to this bug.