Changeset 54294 in webkit


Ignore:
Timestamp:
Feb 3, 2010 1:17:22 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-02-03 Kwang Yul Seo <skyul@company100.net>

Reviewed by Eric Seidel.

[BREWMP] Implement OwnPtrBrew to make sure BREW instances are freed.
https://bugs.webkit.org/show_bug.cgi?id=34518

Add OwnPtrBrew to release IFile, IFileMgr and IBitmap instances.

  • wtf/brew/OwnPtrBrew.cpp: Added. (WTF::IFileMgr): (WTF::IFile): (WTF::IBitmap): (WTF::freeOwnedPtrBrew):
  • wtf/brew/OwnPtrBrew.h: Added. (WTF::OwnPtrBrew::OwnPtrBrew): (WTF::OwnPtrBrew::~OwnPtrBrew): (WTF::OwnPtrBrew::get): (WTF::OwnPtrBrew::release): (WTF::OwnPtrBrew::outPtr): (WTF::OwnPtrBrew::set): (WTF::OwnPtrBrew::clear): (WTF::OwnPtrBrew::operator*): (WTF::OwnPtrBrew::operator->): (WTF::OwnPtrBrew::operator!): (WTF::OwnPtrBrew::operator UnspecifiedBoolType): (WTF::OwnPtrBrew::swap): (WTF::swap): (WTF::operator==): (WTF::operator!=): (WTF::getPtr):
Location:
trunk/JavaScriptCore
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r54290 r54294  
     12010-02-03  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [BREWMP] Implement OwnPtrBrew to make sure BREW instances are freed.
     6        https://bugs.webkit.org/show_bug.cgi?id=34518
     7
     8        Add OwnPtrBrew to release IFile, IFileMgr and IBitmap instances.
     9
     10        * wtf/brew/OwnPtrBrew.cpp: Added.
     11        (WTF::IFileMgr):
     12        (WTF::IFile):
     13        (WTF::IBitmap):
     14        (WTF::freeOwnedPtrBrew):
     15        * wtf/brew/OwnPtrBrew.h: Added.
     16        (WTF::OwnPtrBrew::OwnPtrBrew):
     17        (WTF::OwnPtrBrew::~OwnPtrBrew):
     18        (WTF::OwnPtrBrew::get):
     19        (WTF::OwnPtrBrew::release):
     20        (WTF::OwnPtrBrew::outPtr):
     21        (WTF::OwnPtrBrew::set):
     22        (WTF::OwnPtrBrew::clear):
     23        (WTF::OwnPtrBrew::operator*):
     24        (WTF::OwnPtrBrew::operator->):
     25        (WTF::OwnPtrBrew::operator!):
     26        (WTF::OwnPtrBrew::operator UnspecifiedBoolType):
     27        (WTF::OwnPtrBrew::swap):
     28        (WTF::swap):
     29        (WTF::operator==):
     30        (WTF::operator!=):
     31        (WTF::getPtr):
     32
    1332010-02-03  Kwang Yul Seo  <skyul@company100.net>
    234
Note: See TracChangeset for help on using the changeset viewer.