Changeset 19803 for S60/trunk/WebCore

Show
Ignore:
Timestamp:
02/22/07 13:25:54 (23 months ago)
Author:
brmorris
Message:

hongzhao, reviewed by Zalan, merged by mbradley++

DESC: merge of r19802 to s60 trunk. Cache memory collector is not initialized in 3.2 HZHO-6YMQCK
Fix: Initialize the initial size of cache memory collector after create it.
http://bugs.webkit.org/show_bug.cgi?id=12844

Location:
S60/trunk/WebCore
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • S60/trunk/WebCore/ChangeLog

    r19733 r19803  
     1hongzhao, reviewed by Zalan, merged by mbradley++ 
     2 DESC: merge of r19802 to s60 trunk. Cache memory collector is not initialized in 3.2 HZHO-6YMQCK  
     3 Fix: Initialize the initial size of cache memory collector after create it. 
     4 http://bugs.webkit.org/show_bug.cgi?id=12844 
     5 
     6        WARNING: NO TEST CASES ADDED OR CHANGED 
     7 
     8        * khtml/misc/loader.cpp: 
     9        (Cache::init): 
     10 
    111 
    212hongzhao, reviewed by Zalan 
  • S60/trunk/WebCore/khtml/misc/loader.cpp

    r15508 r19803  
    20602060#ifdef __OOM__ 
    20612061    if( !oom_collector ) 
     2062        { 
    20622063        oom_collector = new CacheMemCollector(); 
     2064        oom_collector->iInitialSize = Cache::maxSize; 
     2065       } 
    20632066#endif 
    20642067}