Ignore:
Timestamp:
Mar 6, 2010, 5:57:23 AM (15 years ago)
Author:
[email protected]
Message:

2010-03-06 Kwang Yul Seo <[email protected]>

Reviewed by Eric Seidel.

[BREWMP] Share OwnPtr.
https://bugs.webkit.org/show_bug.cgi?id=35776

Share OwnPtr implementation with BREW MP and remove OwnPtrBrew.

  • wtf/OwnPtrBrew.cpp: Added. (WTF::deleteOwnedPtr):
  • wtf/OwnPtrCommon.h:
  • wtf/brew/OwnPtrBrew.cpp: Removed.
  • wtf/brew/OwnPtrBrew.h: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/OwnPtrCommon.h

    r45669 r55621  
    22 * Copyright (C) 2009 Apple Inc. All rights reserved.
    33 * Copyright (C) 2009 Torch Mobile, Inc.
     4 * Copyright (C) 2010 Company 100 Inc.
    45 *
    56 * Redistribution and use in source and binary forms, with or without
     
    3839#endif
    3940
     41#if PLATFORM(BREWMP)
     42// Forward delcarations at this point avoid the need to include BREW includes
     43// in WTF headers.
     44typedef struct _IFileMgr IFileMgr;
     45typedef struct _IFile IFile;
     46typedef struct IBitmap IBitmap;
     47#endif
     48
    4049namespace WTF {
    4150
     
    5766#endif
    5867
     68#if PLATFORM(BREWMP)
     69    void deleteOwnedPtr(IFileMgr*);
     70    void deleteOwnedPtr(IFile*);
     71    void deleteOwnedPtr(IBitmap*);
     72#endif
     73
    5974} // namespace WTF
    6075
Note: See TracChangeset for help on using the changeset viewer.