Title: [173207] trunk/Source/WebKit/win
Revision
173207
Author
[email protected]
Date
2014-09-03 09:12:00 -0700 (Wed, 03 Sep 2014)

Log Message

Unreviewed build fix after r173200.

* WebView.cpp:
(WebView::setCacheModel): Use appropriate types for cache sizes to be
64-bit clean on CFNetwork compile.

Modified Paths

Diff

Modified: trunk/Source/WebKit/win/ChangeLog (173206 => 173207)


--- trunk/Source/WebKit/win/ChangeLog	2014-09-03 15:34:42 UTC (rev 173206)
+++ trunk/Source/WebKit/win/ChangeLog	2014-09-03 16:12:00 UTC (rev 173207)
@@ -1,3 +1,11 @@
+2014-09-03  Brent Fulgham  <[email protected]>
+
+        Unreviewed build fix after r173200.
+
+        * WebView.cpp:
+        (WebView::setCacheModel): Use appropriate types for cache sizes to be
+        64-bit clean on CFNetwork compile.
+
 2014-09-02  [email protected]  <[email protected]>
 
         [WinCairo] Memory cache capacity is not set.

Modified: trunk/Source/WebKit/win/WebView.cpp (173206 => 173207)


--- trunk/Source/WebKit/win/WebView.cpp	2014-09-03 15:34:42 UTC (rev 173206)
+++ trunk/Source/WebKit/win/WebView.cpp	2014-09-03 16:12:00 UTC (rev 173207)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2013 Apple, Inc.  All rights reserved.
+ * Copyright (C) 2006-2014 Apple, Inc.  All rights reserved.
  * Copyright (C) 2009, 2010, 2011 Appcelerator, Inc. All rights reserved.
  * Copyright (C) 2011 Brent Fulgham. All rights reserved.
  *
@@ -501,12 +501,13 @@
             cfurlCacheDirectory = WebCore::localUserSpecificStorageDirectory().createCFString();
     }
     cacheDirectory = String(cfurlCacheDirectory);
+    CFIndex cacheMemoryCapacity = 0;
+    CFIndex cacheDiskCapacity = 0;
 #elif USE(CURL)
     cacheDirectory = CurlCacheManager::getInstance().cacheDirectory();
-#endif
-
     long cacheMemoryCapacity = 0;
     long cacheDiskCapacity = 0;
+#endif
 
     // As a fudge factor, use 1000 instead of 1024, in case the reported byte 
     // count doesn't align exactly to a megabyte boundary.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to