Title: [185313] trunk/Source/WebKit/mac
Revision
185313
Author
[email protected]
Date
2015-06-08 00:59:49 -0700 (Mon, 08 Jun 2015)

Log Message

Fixed the build.

* WebView/WebView.mm:
(+[WebView _setCacheModel:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (185312 => 185313)


--- trunk/Source/WebKit/mac/ChangeLog	2015-06-08 06:38:06 UTC (rev 185312)
+++ trunk/Source/WebKit/mac/ChangeLog	2015-06-08 07:59:49 UTC (rev 185313)
@@ -1,3 +1,10 @@
+2015-06-08  Dan Bernstein  <[email protected]>
+
+        Fixed the build.
+
+        * WebView/WebView.mm:
+        (+[WebView _setCacheModel:]):
+
 2015-06-07  Anders Carlsson  <[email protected]>
 
         Remove WebKitSystemBits

Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (185312 => 185313)


--- trunk/Source/WebKit/mac/WebView/WebView.mm	2015-06-08 06:38:06 UTC (rev 185312)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm	2015-06-08 07:59:49 UTC (rev 185313)
@@ -7715,7 +7715,7 @@
     static uint64_t memSize = ramSize() / 1024 / 1024;
 
     NSDictionary *fileSystemAttributesDictionary = [[NSFileManager defaultManager] attributesOfFileSystemForPath:nsurlCacheDirectory error:nullptr];
-    unsigned long long diskFreeSize = [fileSystemAttributesDictionary[NSFileSystemFreeSize] unsignedLongLongValue] / 1024 / 1000;
+    unsigned long long diskFreeSize = [[fileSystemAttributesDictionary objectForKey:NSFileSystemFreeSize] unsignedLongLongValue] / 1024 / 1000;
 
     NSURLCache *nsurlCache = [NSURLCache sharedURLCache];
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to