Bug 145913

Summary: [EFL] Fix deprecated declarations warnings related to WK2 versioned structs
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Csaba Osztrogonác <ossy>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, darin, kling, ossy, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 145121    
Attachments:
Description Flags
Patch none

Description Csaba Osztrogonác 2015-06-12 03:22:16 PDT
for example:
-------------
../../Source/WebKit2/UIProcess/efl/ContextHistoryClientEfl.cpp:120:40: warning: 'WKContextHistoryClient' is deprecated: Use an explicit versioned struct instead [-Wdeprecated-declarations]
    memset(&wkHistoryClient, 0, sizeof(WKContextHistoryClient));
                                       ^
../../Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h:64:3: note: 'WKContextHistoryClient' has been explicitly marked deprecated here
} WKContextHistoryClient __attribute__((deprecated("Use an explicit versioned struct instead")));
  ^
1 warning generated.


../../Source/WebKit2/UIProcess/efl/ContextMenuClientEfl.cpp:62:42: warning: 'WKPageContextMenuClient' is deprecated: Use an explicit versioned struct instead [-Wdeprecated-declarations]
    memset(&contextMenuClient, 0, sizeof(WKPageContextMenuClient));
                                         ^
../../Source/WebKit2/UIProcess/API/C/WKPageContextMenuClient.h:119:3: note: 'WKPageContextMenuClient' has been explicitly marked deprecated here
} WKPageContextMenuClient __attribute__((deprecated("Use an explicit versioned struct instead")));
  ^
1 warning generated.

...
Comment 1 Csaba Osztrogonác 2015-06-12 03:23:44 PDT
Created attachment 254786 [details]
Patch
Comment 2 WebKit Commit Bot 2015-06-12 03:34:49 PDT
Comment on attachment 254786 [details]
Patch

Clearing flags on attachment: 254786

Committed r185496: <http://trac.webkit.org/changeset/185496>
Comment 3 WebKit Commit Bot 2015-06-12 03:34:53 PDT
All reviewed patches have been landed.  Closing bug.