[Webkit-unassigned] [Bug 194146] [WPE] MiniBrowser: use g_file_new_for_commandline_arg
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 1 01:59:41 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=194146
Xabier RodrÃguez Calvar <calvaris at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |calvaris at igalia.com
Attachment #360850|review? |review+
Flags| |
--- Comment #3 from Xabier RodrÃguez Calvar <calvaris at igalia.com> ---
Comment on attachment 360850
--> https://bugs.webkit.org/attachment.cgi?id=360850
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=360850&action=review
> Tools/MiniBrowser/wpe/main.cpp:206
> + GFile* file = g_file_new_for_commandline_arg(uriArguments[0]);
> + char* url = g_file_get_uri(file);
I'd recommend using smart pointers for this
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190201/8552f173/attachment-0001.html>
More information about the webkit-unassigned
mailing list