Bug 190931 - Modernize / Simplify IPC::Connection::sendOutgoingMessage()
Summary: Modernize / Simplify IPC::Connection::sendOutgoingMessage()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-10-25 16:34 PDT by Chris Dumez
Modified: 2018-10-26 08:35 PDT (History)
6 users (show)

See Also:


Attachments
Patch (5.74 KB, patch)
2018-10-25 16:37 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2018-10-25 16:34:07 PDT
Modernize / Simplify IPC::Connection::sendOutgoingMessage().
Comment 1 Chris Dumez 2018-10-25 16:37:53 PDT
Created attachment 353129 [details]
Patch
Comment 2 EWS Watchlist 2018-10-25 16:39:40 PDT
Attachment 353129 [details] did not pass style-queue:


ERROR: Source/WebKit/Platform/IPC/mac/ConnectionMac.mm:302:  More than one command on the same line  [whitespace/newline] [4]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Alex Christensen 2018-10-26 07:19:48 PDT
Comment on attachment 353129 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=353129&action=review

> Source/WebKit/Platform/IPC/mac/ConnectionMac.mm:-334
> -        header->msgh_id |= MessageBodyIsOutOfLine;

Did this do nothing?
Comment 4 Chris Dumez 2018-10-26 07:39:51 PDT
(In reply to Alex Christensen from comment #3)
> Comment on attachment 353129 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=353129&action=review
> 
> > Source/WebKit/Platform/IPC/mac/ConnectionMac.mm:-334
> > -        header->msgh_id |= MessageBodyIsOutOfLine;
> 
> Did this do nothing?

I merely moved it below.
Comment 5 Alex Christensen 2018-10-26 07:51:29 PDT
Comment on attachment 353129 [details]
Patch

Sure enough.
Comment 6 WebKit Commit Bot 2018-10-26 08:34:26 PDT
Comment on attachment 353129 [details]
Patch

Clearing flags on attachment: 353129

Committed r237460: <https://trac.webkit.org/changeset/237460>
Comment 7 WebKit Commit Bot 2018-10-26 08:34:27 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2018-10-26 08:35:36 PDT
<rdar://problem/45588328>