Build fix for for GCC 5406
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jun 2006 20:56:34 +0000 (20:56 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jun 2006 20:56:34 +0000 (20:56 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15034 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/bridge/mac/WebCoreCache.mm
WebCore/bridge/mac/WebCoreFrameBridge.mm
WebCore/kwq/KWQLoader.mm

index b842281..9bd8e6d 100644 (file)
 
 #include "Cache.h"
 
-using WebCore::Cache;
-
 @implementation WebCoreCache
 
 + (NSArray *)statistics
 {
-    Cache::Statistics s = Cache::getStatistics();
+    WebCore::Cache::Statistics s = WebCore::Cache::getStatistics();
 
     return [NSArray arrayWithObjects:
         [NSDictionary dictionaryWithObjectsAndKeys:
@@ -56,12 +54,12 @@ using WebCore::Cache;
 
 + (void)empty
 {
-    Cache::flushAll();
+    WebCore::Cache::flushAll();
 }
 
 + (void)setDisabled:(BOOL)disabled
 {
-    Cache::setCacheDisabled(disabled);
+    WebCore::Cache::setCacheDisabled(disabled);
 }
 
 @end
index a96e3c9..d42233f 100644 (file)
@@ -457,7 +457,7 @@ static inline WebCoreFrameBridge *bridge(Frame *frame)
     // FIXME: This is one-time initialization, but it gets the value of the setting from the
     // current WebView. That's a mismatch and not good!
     if (!initializedObjectCacheSize) {
-        Cache::setSize([self getObjectCacheSize]);
+        WebCore::Cache::setSize([self getObjectCacheSize]);
         initializedObjectCacheSize = true;
     }
     
index fdbe867..20196a5 100644 (file)
@@ -166,7 +166,7 @@ Vector<char> KWQServeSynchronousRequest(Loader *loader, DocLoader *docLoader, Tr
 
 int KWQNumberOfPendingOrLoadingRequests(WebCore::DocLoader *dl)
 {
-    return Cache::loader()->numRequests(dl);
+    return WebCore::Cache::loader()->numRequests(dl);
 }
 
 bool KWQCheckIfReloading(DocLoader *loader)