RESOLVED FIXED 174792
[GTK][WPE] Remove useless conditional in IconDatabase::setIconDataForIconURL
https://bugs.webkit.org/show_bug.cgi?id=174792
Summary [GTK][WPE] Remove useless conditional in IconDatabase::setIconDataForIconURL
Michael Catanzaro
Reported 2017-07-24 09:35:05 PDT
We have in IconDatabase::setIconDataForIconURL some code in a conditional to check if it's not being executed on the icon sync thread. But at the top of the function is an assertion to ensure the code is never executed on the icon sync thread. The condition is therefore useless and the code should be executed unconditionally.
Attachments
Patch (2.62 KB, patch)
2017-07-24 09:43 PDT, Michael Catanzaro
cgarcia: review+
commit-queue: commit-queue-
Michael Catanzaro
Comment 1 2017-07-24 09:43:46 PDT
Build Bot
Comment 2 2017-07-24 09:46:24 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
Carlos Garcia Campos
Comment 3 2017-07-24 23:05:15 PDT
Comment on attachment 316298 [details] Patch I noticed this yesterday too :-)
WebKit Commit Bot
Comment 4 2017-07-24 23:06:09 PDT
Comment on attachment 316298 [details] Patch Rejecting attachment 316298 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 316298, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: de: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 2 diffs from patch file(s). patching file Source/WebKit/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebKit/UIProcess/API/glib/IconDatabase.cpp Hunk #1 FAILED at 579. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebKit/UIProcess/API/glib/IconDatabase.cpp.rej Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Carlos Garcia Campos']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.webkit.org/results/4182740
Carlos Garcia Campos
Comment 5 2017-07-24 23:46:03 PDT
Note You need to log in before you can comment on or make changes to this bug.