It is not good implementation we support both create() factory function and public constructor. In EvasGLContext case, it has supported both. However create() factory is only used by EwkView. Thus remove the create() function, then EwkView creates EvasGLContext using std::make_unique<> directly.
Created attachment 261100 [details] Patch
Created attachment 261101 [details] Patch
Attachment 261101 [details] did not pass style-queue: ERROR: Source/WebKit2/ChangeLog:3: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 261102 [details] Patch
Comment on attachment 261102 [details] Patch Clearing flags on attachment: 261102 Committed r189728: <http://trac.webkit.org/changeset/189728>
All reviewed patches have been landed. Closing bug.