Changeset 19802

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

hongzhao, Reviewed by Zalan

DESC: [S60] Cache memory collector is not initialized in 3.1m HZHO-6YMQCK
Fix: Initialze the initial size of cache mem collector after create it.
http://bugs.webkit.org/show_bug.cgi?id=12844

Location:
S60/branches/3.1m/WebCore
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • S60/branches/3.1m/WebCore/ChangeLog

    r19611 r19802  
     1hongzhao, Reviewed by Zalan  
     2        DESC: [S60] Cache memory collector is not initialized in 3.1m HZHO-6YMQCK   
     3        Fix: Initialze the initial size of cache mem collector after create it. 
     4        http://bugs.webkit.org/show_bug.cgi?id=12844 
     5 
     6        * ChangeLog: 
     7        * WebCore/khtml/misc/loader.cpp: 
     8        (Cache::init): 
     9 
     10 
    111bujtas, reviewed by yongjun 
    212        DESC: merging trunk r16319 to s60/3.1m PKAI-6Y2PBN   
  • S60/branches/3.1m/WebCore/khtml/misc/loader.cpp

    r19372 r19802  
    20642064#ifdef __OOM__ 
    20652065    if( !oom_collector ) 
    2066         oom_collector = new CacheMemCollector(); 
     2066      { 
     2067      oom_collector = new CacheMemCollector(); 
     2068      oom_collector->iInitialSize = Cache::maxSize; 
     2069      } 
    20672070#endif 
    20682071}