Title: [211989] trunk/Source
- Revision
- 211989
- Author
- a...@apple.com
- Date
- 2017-02-09 13:34:19 -0800 (Thu, 09 Feb 2017)
Log Message
Remove unused WebThreadRunSync
https://bugs.webkit.org/show_bug.cgi?id=168024
Reviewed by Tim Horton.
Source/WebCore:
* platform/ios/wak/WebCoreThreadRun.cpp:
* platform/ios/wak/WebCoreThreadRun.h:
* platform/ios/wak/WebCoreThreadSystemInterface.cpp:
(InitWebCoreThreadSystemInterface):
Source/WTF:
* wtf/ios/WebCoreThread.cpp:
* wtf/ios/WebCoreThread.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (211988 => 211989)
--- trunk/Source/WTF/ChangeLog 2017-02-09 21:33:24 UTC (rev 211988)
+++ trunk/Source/WTF/ChangeLog 2017-02-09 21:34:19 UTC (rev 211989)
@@ -1,3 +1,13 @@
+2017-02-09 Alexey Proskuryakov <a...@apple.com>
+
+ Remove unused WebThreadRunSync
+ https://bugs.webkit.org/show_bug.cgi?id=168024
+
+ Reviewed by Tim Horton.
+
+ * wtf/ios/WebCoreThread.cpp:
+ * wtf/ios/WebCoreThread.h:
+
2017-02-09 Brady Eidson <beid...@apple.com>
Build fix for APPLE_INTERNAL_SDK builds after r211980.
Modified: trunk/Source/WTF/wtf/ios/WebCoreThread.cpp (211988 => 211989)
--- trunk/Source/WTF/wtf/ios/WebCoreThread.cpp 2017-02-09 21:33:24 UTC (rev 211988)
+++ trunk/Source/WTF/wtf/ios/WebCoreThread.cpp 2017-02-09 21:34:19 UTC (rev 211989)
@@ -30,5 +30,4 @@
WTF_EXPORT_PRIVATE bool (*WebCoreWebThreadIsLockedOrDisabled)(void);
WTF_EXPORT_PRIVATE bool (*WebCoreWebThreadIsEnabled)(void);
WTF_EXPORT_PRIVATE void (*WebCoreWebThreadRun)(void (^block)());
-WTF_EXPORT_PRIVATE void (*WebCoreWebThreadRunSync)(void (^block)());
#endif
Modified: trunk/Source/WTF/wtf/ios/WebCoreThread.h (211988 => 211989)
--- trunk/Source/WTF/wtf/ios/WebCoreThread.h 2017-02-09 21:33:24 UTC (rev 211988)
+++ trunk/Source/WTF/wtf/ios/WebCoreThread.h 2017-02-09 21:34:19 UTC (rev 211989)
@@ -35,7 +35,6 @@
extern bool (*WebCoreWebThreadIsLockedOrDisabled)(void);
extern bool (*WebCoreWebThreadIsEnabled)(void);
extern void (*WebCoreWebThreadRun)(void (^block)());
-extern void (*WebCoreWebThreadRunSync)(void (^block)());
#ifdef __cplusplus
}
Modified: trunk/Source/WebCore/ChangeLog (211988 => 211989)
--- trunk/Source/WebCore/ChangeLog 2017-02-09 21:33:24 UTC (rev 211988)
+++ trunk/Source/WebCore/ChangeLog 2017-02-09 21:34:19 UTC (rev 211989)
@@ -1,3 +1,15 @@
+2017-02-09 Alexey Proskuryakov <a...@apple.com>
+
+ Remove unused WebThreadRunSync
+ https://bugs.webkit.org/show_bug.cgi?id=168024
+
+ Reviewed by Tim Horton.
+
+ * platform/ios/wak/WebCoreThreadRun.cpp:
+ * platform/ios/wak/WebCoreThreadRun.h:
+ * platform/ios/wak/WebCoreThreadSystemInterface.cpp:
+ (InitWebCoreThreadSystemInterface):
+
2017-02-09 Ryan Haddad <ryanhad...@apple.com>
Unreviewed, rolling out r211802.
Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.cpp (211988 => 211989)
--- trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.cpp 2017-02-09 21:33:24 UTC (rev 211988)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.cpp 2017-02-09 21:34:19 UTC (rev 211989)
@@ -167,11 +167,6 @@
_WebThreadRun(task, false);
}
-void WebThreadRunSync(void (^task)())
-{
- _WebThreadRun(task, true);
-}
-
void WebThreadInitRunQueue()
{
ASSERT(!runQueue);
Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.h (211988 => 211989)
--- trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.h 2017-02-09 21:33:24 UTC (rev 211988)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.h 2017-02-09 21:34:19 UTC (rev 211989)
@@ -32,21 +32,9 @@
extern "C" {
#endif
-
-// On the web thread, both
-// WebThreadRun(^{ code; });
-// and
-// WebThreadRunSync(^{ code; });
-// just run the block immediately.
-
-// On any other thread,
-// WebThreadRun(^{ code; });
-// will queue the block for asynchronous execution on the web thread, and
-// WebThreadRunSync(^{ code; });
-// will queue the block and wait for its execution to finish.
-
+// On the web thread WebThreadRun just runs the block immediately.
+// On any other thread, it will queue the block for asynchronous execution on the web thread.
WEBCORE_EXPORT void WebThreadRun(void (^block)());
-void WebThreadRunSync(void (^block)());
#if defined(__cplusplus)
} // extern "C"
Modified: trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSystemInterface.cpp (211988 => 211989)
--- trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSystemInterface.cpp 2017-02-09 21:33:24 UTC (rev 211988)
+++ trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSystemInterface.cpp 2017-02-09 21:34:19 UTC (rev 211989)
@@ -47,7 +47,6 @@
INIT(WebThreadIsLockedOrDisabled);
INIT(WebThreadIsEnabled);
INIT(WebThreadRun);
- INIT(WebThreadRunSync);
didInit = true;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes