Closed
Bug 393662
Opened 18 years ago
Closed 18 years ago
Removal of Old GFX and obsolete codes in nsBaseWidget.cpp
Categories
(Core :: Widget, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha8
People
(Reporter: xfsunoles, Assigned: xfsunoles)
References
()
Details
Attachments
(1 file)
|
1.34 KB,
patch
|
roc
:
review+
roc
:
superreview+
roc
:
approval1.9+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007082405 Minefield/3.0a8pre
Build Identifier:
The non-Cairo code in gtk2bin.h is outdated and should be removed.
nsIWidget *parent = GetParent();
if (!parent)
return nsnull;
// in theory we should get our parent's surface,
// clone it, and set a device offset before returning
return nsnull;
By looking of this code, if parent variable is true and false, it return nsnull;This parent variable isn't needed at all?
O
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
| Assignee | ||
Updated•18 years ago
|
Summary: http://mxr.mozilla.org/seamonkey/source/widget/src/xpwidgets/nsBaseWidget.cpp#661 → Removal of Old GFX and obsolete codes
| Assignee | ||
Comment 1•18 years ago
|
||
Oops, it should be nsBaseWidget.cpp instead gtk2bin.h. Just ignore last O.
| Assignee | ||
Updated•18 years ago
|
Summary: Removal of Old GFX and obsolete codes → Removal of Old GFX and obsolete codes in nsBaseWidget.cpp
| Assignee | ||
Comment 2•18 years ago
|
||
| Assignee | ||
Updated•18 years ago
|
Attachment #278334 -
Flags: superreview?(roc)
Attachment #278334 -
Flags: review?(roc)
Attachment #278334 -
Flags: superreview?(roc)
Attachment #278334 -
Flags: superreview+
Attachment #278334 -
Flags: review?(roc)
Attachment #278334 -
Flags: review+
Attachment #278334 -
Flags: approval1.9+
| Assignee | ||
Updated•18 years ago
|
Keywords: checkin-needed
Updated•18 years ago
|
Assignee: nobody → xfsunoles
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•18 years ago
|
||
mozilla/widget/src/xpwidgets/nsBaseWidget.cpp 1.161
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M8
Version: unspecified → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•