[Webkit-unassigned] [Bug 119654] [Qt] Avoid calling QWebPage's virtual functions during deletion of QWebPage
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 11 04:15:32 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119654
--- Comment #4 from Allan Sandfeld Jensen <allan.jensen at digia.com> 2013-08-11 04:15:08 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > Since QWebPage is already a wrapper around QWebPageAdaptor why can't you call QWebPageAdaptor::preparetoDestroy() from the qwebpage destructor?
>
> When control reaches ~QWebPage derived class already been destroyed(~UnLoadTestPage).
True, but that only matters if you need the overloaded alert like the test-case. Most common cases of what happens on unload would work, wouldn't it?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list