Title: [106933] trunk/Source/WebCore
Revision
106933
Author
o...@webkit.org
Date
2012-02-07 06:32:35 -0800 (Tue, 07 Feb 2012)

Log Message

[Qt][WK2] Compute and set cache capacities using the current CacheModel
https://bugs.webkit.org/show_bug.cgi?id=73918

Patch by Michael BrĂ¼ning <michael.brun...@nokia.com> on 2012-02-07
Reviewed by Kenneth Rohde Christiansen.

No new tests. (build fix)

* platform/qt/FileSystemQt.cpp:
(WebCore::getVolumeFreeSizeForPath):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (106932 => 106933)


--- trunk/Source/WebCore/ChangeLog	2012-02-07 14:00:24 UTC (rev 106932)
+++ trunk/Source/WebCore/ChangeLog	2012-02-07 14:32:35 UTC (rev 106933)
@@ -1,3 +1,15 @@
+2012-02-07  Michael BrĂ¼ning  <michael.brun...@nokia.com>
+
+        [Qt][WK2] Compute and set cache capacities using the current CacheModel
+        https://bugs.webkit.org/show_bug.cgi?id=73918
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        No new tests. (build fix)
+
+        * platform/qt/FileSystemQt.cpp:
+        (WebCore::getVolumeFreeSizeForPath):
+
 2012-02-07  Pavel Feldman  <pfeld...@google.com>
 
         Web Inspector: add generic support for undo-ing DOM edits.

Modified: trunk/Source/WebCore/platform/qt/FileSystemQt.cpp (106932 => 106933)


--- trunk/Source/WebCore/platform/qt/FileSystemQt.cpp	2012-02-07 14:00:24 UTC (rev 106932)
+++ trunk/Source/WebCore/platform/qt/FileSystemQt.cpp	2012-02-07 14:32:35 UTC (rev 106933)
@@ -200,7 +200,7 @@
     BOOL result = GetDiskFreeSpaceExW((LPCWSTR)path, &freeBytesToCaller, 0, 0);
     if (!result)
         return 0;
-    return static_cast<uint64_t>freeBytesToCaller.QuadPart;
+    return static_cast<uint64_t>(freeBytesToCaller.QuadPart);
 #else
     struct statvfs volumeInfo;
     if (statvfs(path, &volumeInfo))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to