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)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha8

People

(Reporter: xfsunoles, Assigned: xfsunoles)

References

()

Details

Attachments

(1 file)

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.
Summary: http://mxr.mozilla.org/seamonkey/source/widget/src/xpwidgets/nsBaseWidget.cpp#661 → Removal of Old GFX and obsolete codes
Oops, it should be nsBaseWidget.cpp instead gtk2bin.h. Just ignore last O.
Summary: Removal of Old GFX and obsolete codes → Removal of Old GFX and obsolete codes in nsBaseWidget.cpp
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+
Keywords: checkin-needed
Assignee: nobody → xfsunoles
Status: UNCONFIRMED → NEW
Ever confirmed: true
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.

Attachment

General

Created:
Updated:
Size: