Title: [176842] trunk/Source/WebKit/win
Revision
176842
Author
[email protected]
Date
2014-12-05 08:34:14 -0800 (Fri, 05 Dec 2014)

Log Message

Follow-up build fix.

* WebCoreSupport/WebVisitedLinkStore.cpp:
(WebVisitedLinkStore::shared):

Modified Paths

Diff

Modified: trunk/Source/WebKit/win/ChangeLog (176841 => 176842)


--- trunk/Source/WebKit/win/ChangeLog	2014-12-05 13:25:28 UTC (rev 176841)
+++ trunk/Source/WebKit/win/ChangeLog	2014-12-05 16:34:14 UTC (rev 176842)
@@ -1,3 +1,10 @@
+2014-12-05  Anders Carlsson  <[email protected]>
+
+        Follow-up build fix.
+
+        * WebCoreSupport/WebVisitedLinkStore.cpp:
+        (WebVisitedLinkStore::shared):
+
 2014-12-04  Anders Carlsson  <[email protected]>
 
         Don't use NeverDestroyed with a RefCounted object.

Modified: trunk/Source/WebKit/win/WebCoreSupport/WebVisitedLinkStore.cpp (176841 => 176842)


--- trunk/Source/WebKit/win/WebCoreSupport/WebVisitedLinkStore.cpp	2014-12-05 13:25:28 UTC (rev 176841)
+++ trunk/Source/WebKit/win/WebCoreSupport/WebVisitedLinkStore.cpp	2014-12-05 16:34:14 UTC (rev 176842)
@@ -37,7 +37,7 @@
 
 WebVisitedLinkStore& WebVisitedLinkStore::shared()
 {
-    return WebVisitedLinkStore& visitedLinkStore = *adoptRef(new WebVisitedLinkStore);
+    static WebVisitedLinkStore& visitedLinkStore = *adoptRef(new WebVisitedLinkStore).leakRef();
     
     return visitedLinkStore;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to