Title: [197146] trunk/Source/WTF
Revision
197146
Author
[email protected]
Date
2016-02-25 16:45:35 -0800 (Thu, 25 Feb 2016)

Log Message

Should template RefCounter instead of RefCounter::Token
https://bugs.webkit.org/show_bug.cgi?id=154691

Speculative windows build fix.

* wtf/RefCounter.h:
(WTF::RefCounter::RefCounter):
(WTF::RefCounter::count):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (197145 => 197146)


--- trunk/Source/WTF/ChangeLog	2016-02-26 00:33:39 UTC (rev 197145)
+++ trunk/Source/WTF/ChangeLog	2016-02-26 00:45:35 UTC (rev 197146)
@@ -1,3 +1,14 @@
+2016-02-25  Gavin Barraclough  <[email protected]>
+
+        Should template RefCounter instead of RefCounter::Token
+        https://bugs.webkit.org/show_bug.cgi?id=154691
+
+        Speculative windows build fix.
+
+        * wtf/RefCounter.h:
+        (WTF::RefCounter::RefCounter):
+        (WTF::RefCounter::count):
+
 2016-02-25  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r197137.

Modified: trunk/Source/WTF/wtf/RefCounter.h (197145 => 197146)


--- trunk/Source/WTF/wtf/RefCounter.h	2016-02-26 00:33:39 UTC (rev 197145)
+++ trunk/Source/WTF/wtf/RefCounter.h	2016-02-26 00:45:35 UTC (rev 197146)
@@ -39,8 +39,8 @@
     class Count {
         WTF_MAKE_NONCOPYABLE(Count);
     public:
-        WTF_EXPORT_PRIVATE void ref();
-        WTF_EXPORT_PRIVATE void deref();
+        void ref();
+        void deref();
 
     private:
         friend class RefCounter;
@@ -76,8 +76,8 @@
         RefPtr<Count> m_ptr;
     };
 
-    WTF_EXPORT_PRIVATE RefCounter(std::function<void(bool)> = [](bool) { });
-    WTF_EXPORT_PRIVATE ~RefCounter();
+    RefCounter(std::function<void(bool)> = [](bool) { });
+    ~RefCounter();
 
     Token count() const
     {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to