Bug 186582

Summary: [WinCairo] Move unrelated features of WorkQueueWin into IPC::Connection
Product: WebKit Reporter: Basuke Suzuki <Basuke.Suzuki>
Component: PlatformAssignee: Basuke Suzuki <Basuke.Suzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, Basuke.Suzuki, bfulgham, commit-queue, don.olmstead, ews-watchlist, webkit-bug-importer, youennf, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
PATCH
none
PATCH
none
FIX none

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>