-
carlosgc@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96770 Reviewed by Gustavo Noronha Silva. Using the C++ classes directly instead of the C API wrappers we avoid a lot of toImpl/toAPI casts, string conversions and allocations. The code is also a lot simpler and easier to read. * UIProcess/API/gtk/WebKitContextMenu.cpp: (webkitContextMenuCreate): * UIProcess/API/gtk/WebKitContextMenuItem.cpp: (webkitContextMenuItemCreate): * UIProcess/API/gtk/WebKitContextMenuItemPrivate.h: * UIProcess/API/gtk/WebKitContextMenuPrivate.h: * UIProcess/API/gtk/WebKitWebView.cpp: (webkitWebViewPopulateContextMenu): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
086b246f