のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2014-01-09から1日間の記事一覧

void AtomicString::remove

422 void AtomicString::remove(StringImpl* r) 423 { 424 HashSet<StringImpl*>::iterator iterator; 425 if (r->is8Bit()) 426 iterator = findString<LChar>(r); 427 else 428 iterator = findString<UChar>(r); 429 RELEASE_ASSERT(iterator != stringTable().end()); 430 stringTab</uchar></lchar></stringimpl*>…

FontCache::dump()

if (gFontPlatformDataCache) { FontPlatformDataCache::iterator end = gFontPlatformDataCache->end(); FontPlatformDataCache::iterator it = gFontPlatformDataCache->begin(); for (int count = 0; it != end; ++it, count++) { ALOGV("gFontPlatformDa…

AtomicString::remove

i=44 267 inline void deref() 268 { 269 if (m_refCount == s_refCountIncrement) { 270 delete this; <===== 271 return; 272 } 273 274 m_refCount -= s_refCountIncrement; 275 } 252 StringImpl::~StringImpl() 253 { 254 ASSERT(!isStatic()); 255 256…

delete gFontPlatformDataCache;

529 void FontCache::invalidate() 530 { 531 if (!gClients) { 532 ASSERT(!gFontPlatformDataCache); 533 return; 534 } 535 536 if (gFontPlatformDataCache) { 537 deleteAllValues(*gFontPlatformDataCache); 538 delete gFontPlatformDataCache; <====…

void FontCache::invalidate()

529 void FontCache::invalidate() 530 { 531 if (!gClients) { 532 ASSERT(!gFontPlatformDataCache); 533 return; 534 } 535 536 if (gFontPlatformDataCache) { 537 deleteAllValues(*gFontPlatformDataCache); 538 delete gFontPlatformDataCache; 539 g…

fontCache

50 FontCache* fontCache() 51 { 52 DEFINE_STATIC_LOCAL(FontCache, globalFontCache, ()); type = FontCache, name = globalFontCache, arguments = () static FontCache& globalFontCache = *new FontCache () 53 return &globalFontCache; 54 } 33 // Us…