// WebKitClassFactory --------------------------------------------------------- WebKitClassFactory::WebKitClassFactory(CLSID targetClass) : m_targetClass(targetClass) { JSC::initializeThreading(); WTF::initializeMainThread(); gClassCount++; gClassNameCount().add("WebKitClassFactory"); }
WebNotification::~WebNotification() { if (m_name) SysFreeString(m_name); if (m_anObject) m_anObject->Release(); if (m_userInfo) m_userInfo->Release(); gClassCount--; gClassNameCount().remove("WebNotification"); }
WebNotification::WebNotification(BSTR name, IUnknown* anObject, IPropertyBag* userInfo) : m_anObject(anObject) , m_userInfo(userInfo) { if (name) m_name = SysAllocString(name); if (m_anObject) m_anObject->AddRef(); if (m_userInfo) m_userInfo->AddRef(); gClassCount++; gClassNameCount().add("WebNotification"); }
WebScriptObject::~WebScriptObject() { gClassCount--; gClassNameCount().remove("WebScriptObject"); }
WebScriptObject::WebScriptObject() : m_refCount(0) { gClassCount++; gClassNameCount().add("WebScriptObject"); }
WebKitClassFactory::~WebKitClassFactory() { gClassCount--; gClassNameCount().remove("WebKitClassFactory"); }
WebCache::~WebCache() { gClassCount--; gClassNameCount().remove("WebCache"); }
WebCache::WebCache() : m_refCount(0) { gClassCount++; gClassNameCount().add("WebCache"); }
WebApplicationCache::~WebApplicationCache() { gClassCount--; gClassNameCount().remove("WebApplicationCache"); }
WebApplicationCache::WebApplicationCache() : m_refCount(0) { gClassCount++; gClassNameCount().add("WebApplicationCache"); }
WebKitMessageLoop::~WebKitMessageLoop() { gClassCount--; gClassNameCount().remove("WebKitMessageLoop"); }
WebKitMessageLoop::WebKitMessageLoop() : m_refCount(0) { gClassCount++; gClassNameCount().add("WebKitMessageLoop"); }
WebWorkersPrivate::~WebWorkersPrivate() { gClassCount--; gClassNameCount().remove("WebWorkersPrivate"); }
WebWorkersPrivate::WebWorkersPrivate() : m_refCount(0) { gClassCount++; gClassNameCount().add("WebWorkersPrivate"); }