Bug 33746

Summary: [GTK] More crashes related to the clipboard management
Product: WebKit Reporter: Gustavo Noronha (kov) <gustavo>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal Keywords: Gtk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Use WebView object instead of page for clipboard callbacks, allowing us to avoid its destruction inbetween gustavo: commit-queue-

Description Gustavo Noronha (kov) 2010-01-15 15:06:12 PST
OK, looks like my last patch was not enough. I still got some crashes, and end up figuring we cannot trust in Page being alive or null, at all, so my alternative approach to the crash is to do explicit ref counting to guard the webView in between the clipboard call and its callbacks being called.
Comment 1 Gustavo Noronha (kov) 2010-01-15 15:10:29 PST
Created attachment 46713 [details]
Use WebView object instead of page for clipboard callbacks, allowing us to avoid its destruction inbetween
Comment 2 Gustavo Noronha (kov) 2010-01-16 16:25:08 PST

*** This bug has been marked as a duplicate of bug 32900 ***
Comment 3 Maciej Stachowiak 2010-01-21 00:30:07 PST
Comment on attachment 46713 [details]
Use WebView object instead of page for clipboard callbacks, allowing us to avoid its destruction inbetween

Unflagging since this appears to be already fixed in the original of which this is a duplicate.