Closed
Bug 618662
Opened 14 years ago
Closed 13 years ago
nsIDocument::GetWindow() should be a const method
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: msucan, Assigned: annasob)
Details
(Keywords: student-project)
Attachments
(1 file, 1 obsolete file)
3.65 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
The nsIDocument::GetWindow() method should be constant. (followup from bug 606498 ... see comments #47, #51 and #54)
Updated•14 years ago
|
Keywords: student-project
Comment 1•14 years ago
|
||
Anna's going to give this a shot. Assigning by request.
Assignee: nobody → annaopensource
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•13 years ago
|
||
Assignee | ||
Comment 3•13 years ago
|
||
I wasn't sure if I should make OuterWindowID() constant as per comment 47 of bug 606498
Assignee | ||
Updated•13 years ago
|
Attachment #508018 -
Flags: review?(bzbarsky)
Comment 4•13 years ago
|
||
> I wasn't sure if I should make OuterWindowID() constant
Please do!
Comment 5•13 years ago
|
||
Comment on attachment 508018 [details] [diff] [review] Patch fro bug 618662 > + virtual nsPIDOMWindow *GetWindowInternal() const = 0; There's an extra space there before "const". Other than that, looks good.
Attachment #508018 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 6•13 years ago
|
||
I created a new patch. This one fixes the extra space and also makes OuterWindowID() constant
Attachment #508018 -
Attachment is obsolete: true
Attachment #508880 -
Flags: review?(bzbarsky)
Comment 7•13 years ago
|
||
Comment on attachment 508880 [details] [diff] [review] Patch for bug 618662 Looks great; thanks!
Attachment #508880 -
Flags: review?(bzbarsky) → review+
Comment 8•13 years ago
|
||
Should land this once the tree reopens; adding dependency so we don't lose it.
Depends on: post2.0
Updated•13 years ago
|
Keywords: checkin-needed
Updated•13 years ago
|
Keywords: checkin-needed
Comment 9•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/32b7f464e29f
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
Comment 10•13 years ago
|
||
Anna, thank you again for the patch.
You need to log in
before you can comment on or make changes to this bug.
Description
•