Closed Bug 226889 Opened 21 years ago Closed 13 years ago

toolkit and widget pointers in nsWindow.cpp may be cached

Categories

(Core Graveyard :: GFX: BeOS, defect)

x86
BeOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sergei_d, Assigned: sergei_d)

Details

BeOS native events now reach mozilla code via CallMethodAsync().
both BWindow and BView derivative call GetMozillaWidget() and GetToolkit() each
time when any related event happens, which seems overhead. Because, as far i
know, both nsWindow and nsToolkit are same for entire liftime for given BWindow
and BView in nsWidgetBeOS.
So, those ponters may be cached at creation time and, maybe (for BView
derivative), in AttachedToWindow() hook.
Assignee: jag → sergei_d
Component: XP Toolkit/Widgets → GFX: BeOS
Product: Core → Core Graveyard
We don't support BeOS any more.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
In the graveyard, code referred to doesn't exist to be fixed.
You need to log in before you can comment on or make changes to this bug.