[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
aroben at apple.com
aroben at apple.com
Wed Dec 22 13:12:02 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit d660b33c45cece23885d8bed01044402a8855a54
Author: aroben at apple.com <aroben at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Sep 8 21:17:06 2010 +0000
Fix potential ref-counting issues with WorkItemWin
Reviewed by Anders Carlsson.
* Platform/WorkQueue.h: Changed WorkItemWin to inherit from
ThreadSafeShared instead of RefCounted so that its ref-count will stay
consistent when used on multiple threads.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit2/ChangeLog b/WebKit2/ChangeLog
index d13edb5..b280b92 100644
--- a/WebKit2/ChangeLog
+++ b/WebKit2/ChangeLog
@@ -1,5 +1,15 @@
2010-09-08 Adam Roben <aroben at apple.com>
+ Fix potential ref-counting issues with WorkItemWin
+
+ Reviewed by Anders Carlsson.
+
+ * Platform/WorkQueue.h: Changed WorkItemWin to inherit from
+ ThreadSafeShared instead of RefCounted so that its ref-count will stay
+ consistent when used on multiple threads.
+
+2010-09-08 Adam Roben <aroben at apple.com>
+
Teach WorkQueue how to stop waiting on objects on Windows
WorkQueue now uses a subclass of WorkItemWin, HandleWorkItem, to hold
diff --git a/WebKit2/Platform/WorkQueue.h b/WebKit2/Platform/WorkQueue.h
index 83132a5..f7c7dca 100644
--- a/WebKit2/Platform/WorkQueue.h
+++ b/WebKit2/Platform/WorkQueue.h
@@ -93,7 +93,7 @@ private:
dispatch_queue_t m_dispatchQueue;
#endif
#elif PLATFORM(WIN)
- class WorkItemWin : public RefCounted<WorkItemWin> {
+ class WorkItemWin : public ThreadSafeShared<WorkItemWin> {
public:
static PassRefPtr<WorkItemWin> create(PassOwnPtr<WorkItem>, WorkQueue*);
virtual ~WorkItemWin();
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list