WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
30779
[Qt] Make QWebPagePrivate's (QWidget) view to be a QWeakPointer
https://bugs.webkit.org/show_bug.cgi?id=30779
Summary
[Qt] Make QWebPagePrivate's (QWidget) view to be a QWeakPointer
Antonio Gomes
Reported
2009-10-26 09:39:01 PDT
No one is deleting it explicitly, so it can lead to dangling pointers. Making it a qweakpointer would get us safier. patch coming ...
Attachments
(committed in r50142) patch 0.1
(10.20 KB, patch)
2009-10-26 09:40 PDT
,
Antonio Gomes
no flags
Details
Formatted Diff
Diff
(committed in r50209) patch 0.2
(1.71 KB, patch)
2009-10-27 14:12 PDT
,
Antonio Gomes
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antonio Gomes
Comment 1
2009-10-26 09:40:09 PDT
Created
attachment 41872
[details]
(committed in
r50142
) patch 0.1
Antonio Gomes
Comment 2
2009-10-27 06:46:58 PDT
commit in
r50142
thx for reviewing
Antonio Gomes
Comment 3
2009-10-27 14:12:04 PDT
Created
attachment 41984
[details]
(committed in
r50209
) patch 0.2 Patch updated what documentation says: for qweakpointer's tracking qobjects use data() not toStringRef().data()
http://doc.trolltech.com/4.6-snapshot/qweakpointer.html#tracking-qobject
it fixes current Qt-DRT crash
Antonio Gomes
Comment 4
2009-10-27 14:12:39 PDT
reopening to track the pending commit
Holger Freyther
Comment 5
2009-10-28 00:41:46 PDT
Hmm... bad inconsistency and the "other context" is pretty vague too.. I would r=+ if you agree to do a spelling fix before landing the commit.
Holger Freyther
Comment 6
2009-10-28 00:46:20 PDT
okay and the problem toStringRef it must be toStrongRef
Antonio Gomes
Comment 7
2009-10-28 03:24:58 PDT
patch 2 landed in
r50209
thx zecke
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug