2011-04-08 Nat Duca <nduca@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Apr 2011 01:36:34 +0000 (01:36 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Apr 2011 01:36:34 +0000 (01:36 +0000)
        Reviewed by David Levin.

        [chromium] Fix windows assertion on ~CCThread
        https://bugs.webkit.org/show_bug.cgi?id=58153

        Because ~CCThread uses waitForThreadCompletion,
        calling detachThread is not necessary.

        * platform/graphics/chromium/cc/CCThread.cpp:
        (WebCore::CCThread::runLoop):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83370 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/cc/CCThread.cpp

index e9a349e..36a35f7 100644 (file)
@@ -1,3 +1,16 @@
+2011-04-08  Nat Duca  <nduca@chromium.org>
+
+        Reviewed by David Levin.
+
+        [chromium] Fix windows assertion on ~CCThread
+        https://bugs.webkit.org/show_bug.cgi?id=58153
+
+        Because ~CCThread uses waitForThreadCompletion,
+        calling detachThread is not necessary.
+
+        * platform/graphics/chromium/cc/CCThread.cpp:
+        (WebCore::CCThread::runLoop):
+
 2011-04-08  Jian Li  <jianli@chromium.org>
 
         Unreviewed, rolling out r83348.
index 3f64dfc..9566584 100644 (file)
@@ -73,8 +73,6 @@ void* CCThread::runLoop()
     while (OwnPtr<Task> task = m_queue.waitForMessage())
         task->performTask();
 
-    detachThread(m_threadID);
-
     return 0;
 }