Title: [212165] trunk/Source/WTF
- Revision
- 212165
- Author
- commit-qu...@webkit.org
- Date
- 2017-02-10 16:19:06 -0800 (Fri, 10 Feb 2017)
Log Message
Unreviewed, rolling out r212139.
https://bugs.webkit.org/show_bug.cgi?id=168152
Caused some assertions (Requested by JoePeck on #webkit).
Reverted changeset:
"Fix misleading comment in RunLoop.h"
https://bugs.webkit.org/show_bug.cgi?id=167832
http://trac.webkit.org/changeset/212139
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (212164 => 212165)
--- trunk/Source/WTF/ChangeLog 2017-02-11 00:12:41 UTC (rev 212164)
+++ trunk/Source/WTF/ChangeLog 2017-02-11 00:19:06 UTC (rev 212165)
@@ -1,3 +1,16 @@
+2017-02-10 Commit Queue <commit-qu...@webkit.org>
+
+ Unreviewed, rolling out r212139.
+ https://bugs.webkit.org/show_bug.cgi?id=168152
+
+ Caused some assertions (Requested by JoePeck on #webkit).
+
+ Reverted changeset:
+
+ "Fix misleading comment in RunLoop.h"
+ https://bugs.webkit.org/show_bug.cgi?id=167832
+ http://trac.webkit.org/changeset/212139
+
2017-02-10 Joseph Pecoraro <pecor...@apple.com>
Fix misleading comment in RunLoop.h
Modified: trunk/Source/WTF/wtf/RunLoop.cpp (212164 => 212165)
--- trunk/Source/WTF/wtf/RunLoop.cpp 2017-02-11 00:12:41 UTC (rev 212164)
+++ trunk/Source/WTF/wtf/RunLoop.cpp 2017-02-11 00:19:06 UTC (rev 212165)
@@ -50,9 +50,6 @@
void RunLoop::initializeMainRunLoop()
{
-#if OS(DARWIN)
- ASSERT(pthread_main_np());
-#endif
if (s_mainRunLoop)
return;
s_mainRunLoop = &RunLoop::current();
Modified: trunk/Source/WTF/wtf/RunLoop.h (212164 => 212165)
--- trunk/Source/WTF/wtf/RunLoop.h 2017-02-11 00:12:41 UTC (rev 212164)
+++ trunk/Source/WTF/wtf/RunLoop.h 2017-02-11 00:19:06 UTC (rev 212165)
@@ -50,7 +50,8 @@
class RunLoop : public FunctionDispatcher {
WTF_MAKE_NONCOPYABLE(RunLoop);
public:
- // Must be called from the main thread.
+ // Must be called from the main thread (except for the Mac platform, where it
+ // can be called from any thread).
WTF_EXPORT_PRIVATE static void initializeMainRunLoop();
WTF_EXPORT_PRIVATE static RunLoop& current();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes