Bug 132027

Summary: Remove BackForwardController::client() and its uses
Product: WebKit Reporter: Brian Burg <burg>
Component: HistoryAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andersca, ap, bburg, beidson, darin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 131637    
Bug Blocks:    

Description Brian Burg 2014-04-22 15:56:27 PDT
We should not be getting the client pointer and casting to a subclass, as is done in several places. Many of these uses can be converted to calls on BackForwardController.

For other calls, if code in WK/WK2 needs to use a concrete subclass of BackForwardClient, then it should store a pointer to the subclass instance and pass it to WebCore using PageClients.