[GTK] Add a GKeyFile especialization to GOwnPtr
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jan 2012 14:27:24 +0000 (14:27 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jan 2012 14:27:24 +0000 (14:27 +0000)
commit48b936d7ef7f6628c593d36983ad8f90d15897f7
tree4699eab27ded449b5837556fdeeed03397026b1a
parentaf7942317b351f1c871ee750c0aa2f4d94a2309e
[GTK] Add a GKeyFile especialization to GOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=77191

Reviewed by Martin Robinson.

Source/JavaScriptCore:

* wtf/gobject/GOwnPtr.cpp:
(WTF::GKeyFile): Implement freeOwnedGPtr for GKeyFile.
* wtf/gobject/GOwnPtr.h: Add GKeyFile template.
* wtf/gobject/GTypedefs.h: Add forward declaration for GKeyFile.

Source/WebKit2:

* Shared/gtk/ArgumentCodersGtk.cpp:
(CoreIPC::decodeGKeyFile): Use GOwnPtr for GKeyFile.
(CoreIPC::encode): Ditto.
(CoreIPC::decode): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@106117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp
Source/JavaScriptCore/wtf/gobject/GOwnPtr.h
Source/JavaScriptCore/wtf/gobject/GTypedefs.h
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/gtk/ArgumentCodersGtk.cpp