Ignore:
Timestamp:
Oct 17, 2008, 2:16:01 PM (17 years ago)
Author:
[email protected]
Message:

2008-10-17 Marco Barisione <[email protected]>

Reviewed by Sam Weinig. Landed by Jan Alonzo.

https://bugs.webkit.org/show_bug.cgi?id=21603
[GTK] Minor fixes to GOwnPtr

  • wtf/GOwnPtr.cpp: (WTF::GError): (WTF::GList): (WTF::GCond): (WTF::GMutex): (WTF::GPatternSpec): (WTF::GDir):
  • wtf/GOwnPtr.h: (WTF::freeOwnedGPtr): (WTF::GOwnPtr::~GOwnPtr): (WTF::GOwnPtr::outPtr): (WTF::GOwnPtr::set): (WTF::GOwnPtr::clear):
  • wtf/Threading.h:

2008-10-17 Marco Barisione <[email protected]>

Reviewed by Sam Weinig. Landed by Jan Alonzo.

https://bugs.webkit.org/show_bug.cgi?id=21603
[GTK] Minor fixes to GOwnPtr

  • platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: (WebCore::mediaPlayerPrivateErrorCallback):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/GOwnPtr.cpp

    r37556 r37660  
    2222namespace WTF {
    2323
    24 template <> void freeOwnedPtr<GError>(GError* ptr)
     24template <> void freeOwnedGPtr<GError>(GError* ptr)
    2525{
    2626    if (ptr)
     
    2828}
    2929
    30 template <> void freeOwnedPtr<GList>(GList* ptr)
     30template <> void freeOwnedGPtr<GList>(GList* ptr)
    3131{
    3232    g_list_free(ptr);
    3333}
    3434
    35 template <> void freeOwnedPtr<GCond>(GCond* ptr)
     35template <> void freeOwnedGPtr<GCond>(GCond* ptr)
    3636{
    3737    if (ptr)
     
    3939}
    4040
    41 template <> void freeOwnedPtr<GMutex>(GMutex* ptr)
     41template <> void freeOwnedGPtr<GMutex>(GMutex* ptr)
    4242{
    4343    if (ptr)
     
    4545}
    4646
    47 template <> void freeOwnedPtr<GPatternSpec>(GPatternSpec* ptr)
     47template <> void freeOwnedGPtr<GPatternSpec>(GPatternSpec* ptr)
    4848{
    4949    if (ptr)
     
    5151}
    5252
    53 template <> void freeOwnedPtr<GDir>(GDir* ptr)
     53template <> void freeOwnedGPtr<GDir>(GDir* ptr)
    5454{
    5555    if (ptr)
Note: See TracChangeset for help on using the changeset viewer.