Title: [276345] trunk/Source/WebKit
Revision
276345
Author
[email protected]
Date
2021-04-20 22:47:02 -0700 (Tue, 20 Apr 2021)

Log Message

Connection::m_mainThread is unused
https://bugs.webkit.org/show_bug.cgi?id=224806

Patch by Kimmo Kinnunen <[email protected]> on 2021-04-20
Reviewed by Darin Adler.

Remove unused Connection::m_mainThread.

* Platform/IPC/Connection.cpp:
(IPC::Connection::Connection):
* Platform/IPC/Connection.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (276344 => 276345)


--- trunk/Source/WebKit/ChangeLog	2021-04-21 04:58:39 UTC (rev 276344)
+++ trunk/Source/WebKit/ChangeLog	2021-04-21 05:47:02 UTC (rev 276345)
@@ -1,3 +1,16 @@
+2021-04-20  Kimmo Kinnunen  <[email protected]>
+
+        Connection::m_mainThread is unused
+        https://bugs.webkit.org/show_bug.cgi?id=224806
+
+        Reviewed by Darin Adler.
+
+        Remove unused Connection::m_mainThread.
+
+        * Platform/IPC/Connection.cpp:
+        (IPC::Connection::Connection):
+        * Platform/IPC/Connection.h:
+
 2021-04-20  Ian Gilbert  <[email protected]>
 
         Crash due to VectorBuffer pre-allocation failure

Modified: trunk/Source/WebKit/Platform/IPC/Connection.cpp (276344 => 276345)


--- trunk/Source/WebKit/Platform/IPC/Connection.cpp	2021-04-21 04:58:39 UTC (rev 276344)
+++ trunk/Source/WebKit/Platform/IPC/Connection.cpp	2021-04-21 05:47:02 UTC (rev 276345)
@@ -304,11 +304,6 @@
     allConnections().add(m_uniqueID, this);
 
     platformInitialize(identifier);
-
-#if HAVE(QOS_CLASSES)
-    ASSERT(pthread_main_np());
-    m_mainThread = pthread_self();
-#endif
 }
 
 Connection::~Connection()

Modified: trunk/Source/WebKit/Platform/IPC/Connection.h (276344 => 276345)


--- trunk/Source/WebKit/Platform/IPC/Connection.h	2021-04-21 04:58:39 UTC (rev 276344)
+++ trunk/Source/WebKit/Platform/IPC/Connection.h	2021-04-21 05:47:02 UTC (rev 276345)
@@ -433,10 +433,6 @@
     bool m_ignoreInvalidMessageForTesting { false };
 #endif
 
-#if HAVE(QOS_CLASSES)
-    pthread_t m_mainThread { 0 };
-#endif
-
 #if USE(UNIX_DOMAIN_SOCKETS)
     // Called on the connection queue.
     void readyReadHandler();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to