| Summary: | [WK2][EFL] Fix the build after r180362 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Gyuyoung Kim <gyuyoung.kim> | ||||||||||
| Component: | WebKit EFL | Assignee: | Gyuyoung Kim <gyuyoung.kim> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | cgarcia, lucas.de.marchi, ossy, zan | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Bug Depends on: | 141813 | ||||||||||||
| Bug Blocks: | 141808 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Gyuyoung Kim
2015-02-20 03:23:30 PST
Created attachment 246959 [details]
WIP
Created attachment 246960 [details]
WIP
Created attachment 246963 [details]
Patch
Comment on attachment 246963 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246963&action=review > Source/WebKit2/UIProcess/API/C/efl/WKAPICastEfl.h:115 > +inline WKPopupMenuListenerRef toAPI(WebPopupMenuListenerEfl* popup) > +{ > + return static_cast<WKPopupMenuListenerRef>(static_cast<void*>(popup)); > +} > + > +inline WebPopupMenuListenerEfl* toImpl(WKPopupMenuListenerRef popupRef) > +{ > + return static_cast<WebPopupMenuListenerEfl*>(static_cast<void*>(const_cast<OpaqueWKPopupMenuListener*>(popupRef))); > +} I wonder why you need this, isn't WebPopupMenuListenerEfl an API::Object? Comment on attachment 246963 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246963&action=review >> Source/WebKit2/UIProcess/API/C/efl/WKAPICastEfl.h:115 >> +} > > I wonder why you need this, isn't WebPopupMenuListenerEfl an API::Object? Yes, it is not API::Object yet. http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/efl/WebPopupMenuListenerEfl.h#L33 (In reply to comment #5) > Comment on attachment 246963 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=246963&action=review > > >> Source/WebKit2/UIProcess/API/C/efl/WKAPICastEfl.h:115 > >> +} > > > > I wonder why you need this, isn't WebPopupMenuListenerEfl an API::Object? > > Yes, it is not API::Object yet. > > http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/efl/ > WebPopupMenuListenerEfl.h#L33 Ok, then I guess you should add template specialization, like Zan suggested in the GTK+ patch Created attachment 246966 [details]
Patch
Comment on attachment 246966 [details] Patch Clearing flags on attachment: 246966 Committed r180411: <http://trac.webkit.org/changeset/180411> All reviewed patches have been landed. Closing bug. |