Playing whac-a-mole with the Fuchsia builders
Updating IsThreadRefEqual and CurrentThreadRef for Fuchsia.

Bug: webrtc:8893
Change-Id: I731ecc25c00cbba51e6c30c7c0bbb06a04add7bd
Tbr: guidou@webrtc.org
Notry: true
Reviewed-on: https://webrtc-review.googlesource.com/54308
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22070}
diff --git a/rtc_base/platform_thread_types.cc b/rtc_base/platform_thread_types.cc
index 6426dae..211224b 100644
--- a/rtc_base/platform_thread_types.cc
+++ b/rtc_base/platform_thread_types.cc
@@ -37,7 +37,7 @@
 }
 
 PlatformThreadRef CurrentThreadRef() {
-#if defined(WEBRTC_WIN)
+#if defined(WEBRTC_WIN) || defined(WEBRTC_FUCHSIA)
   return GetCurrentThreadId();
 #elif defined(WEBRTC_POSIX)
   return pthread_self();
@@ -45,7 +45,7 @@
 }
 
 bool IsThreadRefEqual(const PlatformThreadRef& a, const PlatformThreadRef& b) {
-#if defined(WEBRTC_WIN)
+#if defined(WEBRTC_WIN) || defined(WEBRTC_FUCHSIA)
   return a == b;
 #elif defined(WEBRTC_POSIX)
   return pthread_equal(a, b);