Closed
Bug 1133150
Opened 9 years ago
Closed 9 years ago
Have nsBaseWidget derive from nsSupportsWeakReference
Categories
(Core :: Widget, defect)
Core
Widget
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: botond, Assigned: dvander)
Details
Attachments
(1 file, 1 obsolete file)
10.01 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Bug 1127066 completed support for APZ in the root process by hooking up code in nsBaseWidget with APZ. Platforms that make use of this support need to have their concrete widget type support weak references (by inheriting from nsSupportsWeakReference). So far this support, where missing, has been added individually for each platform. Kats suggested in bug 1127066 comment 53, and I agree, that it would be better to just have nsBaseWidget provide the support.
Comment 1•9 years ago
|
||
Without this bug fixed OSX (and probably windows) desktop debug builds crash on startup if APZ is enabled.
![]() |
Assignee | |
Comment 2•9 years ago
|
||
Yep, Windows definitely crashes.
Reporter | ||
Comment 3•9 years ago
|
||
Comment on attachment 8565734 [details] [diff] [review] bug1133150.patch Review of attachment 8565734 [details] [diff] [review]: ----------------------------------------------------------------- I believe you need to adjust the NS_IMPL_ISUPPORTS invocations for all the classes where you added or removed inheritance as well [1] [2] [3] [4] [5]. f+ with that change, but I'd like the final review to come from a widget peer/owner [6]. [1] http://mxr.mozilla.org/mozilla-central/source/widget/PuppetWidget.cpp?rev=b6c56fab513d#74 [2] http://mxr.mozilla.org/mozilla-central/source/widget/gonk/nsWindow.cpp?rev=4f4de86d9c3f#132 [3] http://mxr.mozilla.org/mozilla-central/source/widget/gtk/nsWindow.cpp?rev=29846628ba2b#426 [4] http://mxr.mozilla.org/mozilla-central/source/widget/qt/nsWindow.cpp?rev=28b5570caf86#1380 [5] http://mxr.mozilla.org/mozilla-central/source/widget/nsBaseWidget.cpp?rev=40a4e0b2dd08#98 [6] https://wiki.mozilla.org/Modules/All#Widget
Attachment #8565734 -
Flags: review?(botond) → feedback+
![]() |
Assignee | |
Comment 4•9 years ago
|
||
Attachment #8565734 -
Attachment is obsolete: true
Attachment #8565770 -
Flags: review?(roc)
Attachment #8565770 -
Flags: review?(roc) → review+
![]() |
Assignee | |
Comment 5•9 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/71d030563b18
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/71d030563b18
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•