ResourceLoadStatisticsStore should be ThreadSafeRefCounted
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jun 2017 02:58:03 +0000 (02:58 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jun 2017 02:58:03 +0000 (02:58 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173753
<rdar://problem/32939326>

Reviewed by Andreas Kling.

ResourceLoadStatisticsStore should be ThreadSafeRefCounted as it is ref'd/deref'd
from different threads.

* loader/ResourceLoadStatisticsStore.h:

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

Source/WebCore/ChangeLog
Source/WebCore/loader/ResourceLoadStatisticsStore.h

index 6861932..efa034d 100644 (file)
@@ -1,3 +1,16 @@
+2017-06-22  Chris Dumez  <cdumez@apple.com>
+
+        ResourceLoadStatisticsStore should be ThreadSafeRefCounted
+        https://bugs.webkit.org/show_bug.cgi?id=173753
+        <rdar://problem/32939326>
+
+        Reviewed by Andreas Kling.
+
+        ResourceLoadStatisticsStore should be ThreadSafeRefCounted as it is ref'd/deref'd
+        from different threads.
+
+        * loader/ResourceLoadStatisticsStore.h:
+
 2017-06-22  Myles C. Maxfield  <mmaxfield@apple.com>
 
         @font-face rules with invalid primary fonts never download their secondary fonts
index 1ef4ef2..df4393e 100644 (file)
@@ -38,7 +38,7 @@ class URL;
 
 struct ResourceLoadStatistics;
 
-class ResourceLoadStatisticsStore : public RefCounted<ResourceLoadStatisticsStore> {
+class ResourceLoadStatisticsStore : public ThreadSafeRefCounted<ResourceLoadStatisticsStore> {
 public:
     WEBCORE_EXPORT static Ref<ResourceLoadStatisticsStore> create();