Summary: | [Windows] Refactor WebFrame to compose with WebFrameLoaderClient (rather than subclass) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||
Component: | WebKit Misc. | Assignee: | Brent Fulgham <bfulgham> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, bfulgham, kling, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 119964, 120323 | ||||||
Attachments: |
|
Description
Brent Fulgham
2013-08-20 14:50:35 PDT
Created attachment 209481 [details]
Patch
Comment on attachment 209481 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=209481&action=review > Source/WebKit/win/WebFramePolicyListener.cpp:125 > + static_cast<WebFrameLoaderClient*>(&frame->loader().client())->receivedPolicyDecision(action); I think you can just cast to WebFrameLoaderClient& here. > Source/WebKit/win/WebCoreSupport/WebFrameLoaderClient.h:205 > + WebFramePolicyListenerPrivate* m_policyListenerPrivate; I think this can be an OwnPtr. Committed r154508: <http://trac.webkit.org/changeset/154508> |