Bug 186582 - [WinCairo] Move unrelated features of WorkQueueWin into IPC::Connection
Summary: [WinCairo] Move unrelated features of WorkQueueWin into IPC::Connection
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Basuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-06-12 17:21 PDT by Basuke Suzuki
Modified: 2018-06-15 12:37 PDT (History)
9 users (show)

See Also:


Attachments
PATCH (20.93 KB, patch)
2018-06-13 18:03 PDT, Basuke Suzuki
no flags Details | Formatted Diff | Diff
PATCH (20.91 KB, patch)
2018-06-14 11:56 PDT, Basuke Suzuki
no flags Details | Formatted Diff | Diff
FIX (20.91 KB, patch)
2018-06-14 15:06 PDT, Basuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Basuke Suzuki 2018-06-12 17:21:00 PDT
The following feature is not related to WorkQueue's purpose and only used in IPC::Connection for WebKit Windows. It should be moved there until others actually need that feature.

>         (WTF::WorkQueue::handleCallback):
>         (WTF::WorkQueue::registerHandle):
>         (WTF::WorkQueue::unregisterAndCloseHandle):
Comment 1 Basuke Suzuki 2018-06-13 18:03:14 PDT
Created attachment 342715 [details]
PATCH
Comment 2 EWS Watchlist 2018-06-13 18:04:39 PDT
Attachment 342715 [details] did not pass style-queue:


ERROR: Source/WebKit/Platform/IPC/win/ConnectionWin.cpp:357:  Missing space before {  [whitespace/braces] [5]
ERROR: Source/WebKit/Platform/IPC/win/ConnectionWin.cpp:357:  Missing space inside { }.  [whitespace/braces] [5]
Total errors found: 2 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Yusuke Suzuki 2018-06-14 00:42:07 PDT
Comment on attachment 342715 [details]
PATCH

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

Looks nice to me. I want Windows reviewer's r+ too.

> Source/WebKit/Platform/IPC/win/ConnectionWin.cpp:345
> +    // Connection::platformInvalidate.

=> EventListener::close().

> Source/WebKit/Platform/IPC/win/ConnectionWin.cpp:348
> +    // And do not ::CloseHandle(waitHandle).

=> m_waitHandle.
Comment 4 Basuke Suzuki 2018-06-14 11:56:39 PDT
Created attachment 342751 [details]
PATCH

Thanks Yusuke.
Comment 5 Basuke Suzuki 2018-06-14 15:06:00 PDT
Created attachment 342764 [details]
FIX
Comment 6 Brent Fulgham 2018-06-15 12:09:22 PDT
Looks good!
Comment 7 WebKit Commit Bot 2018-06-15 12:36:07 PDT
Comment on attachment 342764 [details]
FIX

Clearing flags on attachment: 342764

Committed r232888: <https://trac.webkit.org/changeset/232888>
Comment 8 WebKit Commit Bot 2018-06-15 12:36:09 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2018-06-15 12:37:23 PDT
<rdar://problem/41168126>