WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 184513
[WPE] Make WebKitWebViewBackend object mandatory for webkit_web_view_new*() constructors
https://bugs.webkit.org/show_bug.cgi?id=184513
Summary
[WPE] Make WebKitWebViewBackend object mandatory for webkit_web_view_new*() c...
Zan Dobersek
Reported
2018-04-11 12:29:12 PDT
[WPE] Make WebKitWebViewBackend object mandatory for webkit_web_view_new*() constructors
Attachments
Patch
(12.31 KB, patch)
2018-04-11 12:36 PDT
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2018-04-11 12:36:21 PDT
Created
attachment 337721
[details]
Patch
EWS Watchlist
Comment 2
2018-04-11 12:38:51 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Michael Catanzaro
Comment 3
2018-04-11 14:58:38 PDT
Comment on
attachment 337721
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=337721&action=review
> Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:149 > + auto* backend = wpe_view_backend_create(); > + return webkit_web_view_backend_new(backend, reinterpret_cast<GDestroyNotify>(wpe_view_backend_destroy), backend);
I would write it in one line
Zan Dobersek
Comment 4
2018-04-11 22:50:32 PDT
Comment on
attachment 337721
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=337721&action=review
>> Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:149 >> + return webkit_web_view_backend_new(backend, reinterpret_cast<GDestroyNotify>(wpe_view_backend_destroy), backend); > > I would write it in one line
You can't, because the backend value is passed in as two separate arguments.
Zan Dobersek
Comment 5
2018-04-11 22:53:28 PDT
Comment on
attachment 337721
[details]
Patch Clearing flags on attachment: 337721 Committed
r230557
: <
https://trac.webkit.org/changeset/230557
>
Zan Dobersek
Comment 6
2018-04-11 22:53:32 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7
2018-04-11 22:54:16 PDT
<
rdar://problem/39372308
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug