|Summary:||WebPageProxy should keep a weak reference to the PageClient|
|Product:||WebKit||Reporter:||Ada Chan <adachan>|
|Component:||WebKit2||Assignee:||Adam Roben (:aroben) <aroben>|
|Severity:||Normal||CC:||andersca, aroben, kenneth, sam, zoltan|
|Version:||528+ (Nightly build)|
|OS:||OS X 10.5|
Description Ada Chan 2010-06-04 13:21:09 PDT
Right now WebPageProxy stores an OwnPtr to the PageClient. That is not appropriate because WebPageProxy does not create the PageClient and it can be set to something that it should not own. For example, on Windows, it's currently being set to the WebView itself. This will cause a crash because WebView has a reference to WebPageProxy which has an OwnPtr to its PageClient, which is the WebView.
Comment 1 Adam Roben (:aroben) 2010-07-27 13:33:30 PDT
Seems like WKView should own the PageClient instead.