WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
44441
WebPDFView should remove itself as the delegate of its PDFView before being dealloced
https://bugs.webkit.org/show_bug.cgi?id=44441
Summary
WebPDFView should remove itself as the delegate of its PDFView before being d...
Mike Thole
Reported
2010-08-23 11:03:52 PDT
WebKit should nil out the PDFView's delegate before releasing it. This is required to fix <
rdar://problem/6978204
> in PDFKit.
Attachments
Proposed patch
(1.01 KB, patch)
2010-08-23 11:06 PDT
,
Mike Thole
mitz: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mike Thole
Comment 1
2010-08-23 11:06:05 PDT
Created
attachment 65141
[details]
Proposed patch
mitz
Comment 2
2010-08-23 11:19:55 PDT
Comment on
attachment 65141
[details]
Proposed patch
> Index: WebKit/mac/ChangeLog > =================================================================== > --- WebKit/mac/ChangeLog (revision 65818) > +++ WebKit/mac/ChangeLog (working copy) > @@ -1,3 +1,13 @@ > +2010-08-23 Mike Thole <
mthole@apple.com
> > + > + Reviewed by NOBODY (OOPS!). > + > + WebKit should nil out PDFView's delegate before releasing it
The change is good, but the description isn’t totally accurate. The problem is that the WebPDFView is deallocated while it is still the delegate, not that the PDFView is being released while having a non-nil delegate.
Mike Thole
Comment 3
2010-08-23 11:27:58 PDT
Good point Dan. I've updated the title to more accurately reflect the actual problem: "WebPDFView should remove itself as the delegate of its PDFView before being dealloced"
Mike Thole
Comment 4
2010-08-23 11:29:03 PDT
Committed revision 65820.
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