Bug 27599 - 'const unsigned' in return value
Summary: 'const unsigned' in return value
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 00:23 PDT by Xan Lopez
Modified: 2009-07-23 01:01 PDT (History)
0 users

See Also:


Attachments
linenoconst.patch (1.60 KB, patch)
2009-07-23 00:25 PDT, Xan Lopez
mrowe: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xan Lopez 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.
Comment 1 Xan Lopez 2009-07-23 00:25:15 PDT
Created attachment 33319 [details]
linenoconst.patch

Remove 'const' modifier.
Comment 2 Mark Rowe (bdash) 2009-07-23 00:58:35 PDT
Comment on attachment 33319 [details]
linenoconst.patch

r=me
Comment 3 Xan Lopez 2009-07-23 01:01:44 PDT
Landed as r46260, closing.