Changeset 89153 in webkit


Ignore:
Timestamp:
Jun 17, 2011 11:58:31 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-06-17 Raphael Kubo da Costa <kubo@profusion.mobi>

Reviewed by Eric Seidel.

[EFL] Add some OwnPtr specializations for EFL types.
For now there are specializations for Ecore_Evas and Evas_Object.
https://bugs.webkit.org/show_bug.cgi?id=62877

  • wtf/CMakeListsEfl.txt:
  • wtf/OwnPtrCommon.h:
  • wtf/efl/OwnPtrEfl.cpp: Added. (WTF::deleteOwnedPtr):
Location:
trunk/Source/JavaScriptCore
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r89133 r89153  
     12011-06-17  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [EFL] Add some OwnPtr specializations for EFL types.
     6        For now there are specializations for Ecore_Evas and Evas_Object.
     7        https://bugs.webkit.org/show_bug.cgi?id=62877
     8
     9        * wtf/CMakeListsEfl.txt:
     10        * wtf/OwnPtrCommon.h:
     11        * wtf/efl/OwnPtrEfl.cpp: Added.
     12        (WTF::deleteOwnedPtr):
     13
    1142011-06-17  Joone Hur  <joone.hur@collabora.co.uk>
    215
  • trunk/Source/JavaScriptCore/wtf/CMakeListsEfl.txt

    r87061 r89153  
    99LIST(APPEND WTF_SOURCES
    1010    efl/MainThreadEfl.cpp
     11    efl/OwnPtrEfl.cpp
    1112
    1213    OSAllocatorPosix.cpp
     
    4041LIST(APPEND WTF_LINK_FLAGS
    4142    ${ECORE_LDFLAGS}
     43    ${ECORE_EVAS_LDFLAGS}
     44    ${EVAS_LDFLAGS}
    4245)
    4346
    4447LIST(APPEND WTF_INCLUDE_DIRECTORIES
    4548    ${ECORE_INCLUDE_DIRS}
     49    ${ECORE_EVAS_INCLUDE_DIRS}
     50    ${EVAS_INCLUDE_DIRS}
    4651    ${ICU_INCLUDE_DIRS}
    4752    ${JAVASCRIPTCORE_DIR}/wtf/unicode/
  • trunk/Source/JavaScriptCore/wtf/OwnPtrCommon.h

    r67529 r89153  
    5151#endif
    5252
     53#if PLATFORM(EFL)
     54typedef struct _Ecore_Evas Ecore_Evas;
     55typedef struct _Evas_Object Evas_Object;
     56#endif
     57
    5358namespace WTF {
    5459
     
    8085#endif
    8186
     87#if PLATFORM(EFL)
     88    void deleteOwnedPtr(Ecore_Evas*);
     89    void deleteOwnedPtr(Evas_Object*);
     90#endif
     91
    8292} // namespace WTF
    8393
Note: See TracChangeset for help on using the changeset viewer.