Title: [130481] trunk/Source/WTF
- Revision
- 130481
- Author
- o...@webkit.org
- Date
- 2012-10-05 01:09:48 -0700 (Fri, 05 Oct 2012)
Log Message
Unreviewed, rolling out r130478.
http://trac.webkit.org/changeset/130478
https://bugs.webkit.org/show_bug.cgi?id=98494
It broke the Qt build (Requested by Ossy on #webkit).
Patch by Sheriff Bot <webkit.review....@gmail.com> on 2012-10-05
* wtf/gobject/GRefPtr.cpp:
* wtf/gobject/GRefPtr.h:
(WTF):
* wtf/gobject/GTypedefs.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (130480 => 130481)
--- trunk/Source/WTF/ChangeLog 2012-10-05 07:58:30 UTC (rev 130480)
+++ trunk/Source/WTF/ChangeLog 2012-10-05 08:09:48 UTC (rev 130481)
@@ -1,3 +1,16 @@
+2012-10-05 Sheriff Bot <webkit.review....@gmail.com>
+
+ Unreviewed, rolling out r130478.
+ http://trac.webkit.org/changeset/130478
+ https://bugs.webkit.org/show_bug.cgi?id=98494
+
+ It broke the Qt build (Requested by Ossy on #webkit).
+
+ * wtf/gobject/GRefPtr.cpp:
+ * wtf/gobject/GRefPtr.h:
+ (WTF):
+ * wtf/gobject/GTypedefs.h:
+
2012-10-05 Simon Pena <sp...@igalia.com>
[GTK] Add support for GBytes in GRefPtr
Modified: trunk/Source/WTF/wtf/gobject/GRefPtr.cpp (130480 => 130481)
--- trunk/Source/WTF/wtf/gobject/GRefPtr.cpp 2012-10-05 07:58:30 UTC (rev 130480)
+++ trunk/Source/WTF/wtf/gobject/GRefPtr.cpp 2012-10-05 08:09:48 UTC (rev 130481)
@@ -63,19 +63,6 @@
g_main_loop_unref(ptr);
}
-template <> GBytes* refGPtr(GBytes* ptr)
-{
- if (ptr)
- g_bytes_ref(ptr);
- return ptr;
-}
-
-template <> void derefGPtr(GBytes* ptr)
-{
- if (ptr)
- g_bytes_unref(ptr);
-}
-
#if GLIB_CHECK_VERSION(2, 24, 0)
template <> GVariant* refGPtr(GVariant* ptr)
{
Modified: trunk/Source/WTF/wtf/gobject/GRefPtr.h (130480 => 130481)
--- trunk/Source/WTF/wtf/gobject/GRefPtr.h 2012-10-05 07:58:30 UTC (rev 130480)
+++ trunk/Source/WTF/wtf/gobject/GRefPtr.h 2012-10-05 08:09:48 UTC (rev 130481)
@@ -212,8 +212,6 @@
template <> void derefGPtr(GPtrArray*);
template <> GByteArray* refGPtr(GByteArray*);
template <> void derefGPtr(GByteArray*);
-template <> GBytes* refGPtr(GBytes*);
-template <> void derefGPtr(GBytes*);
template <typename T> inline T* refGPtr(T* ptr)
{
Modified: trunk/Source/WTF/wtf/gobject/GTypedefs.h (130480 => 130481)
--- trunk/Source/WTF/wtf/gobject/GTypedefs.h 2012-10-05 07:58:30 UTC (rev 130480)
+++ trunk/Source/WTF/wtf/gobject/GTypedefs.h 2012-10-05 08:09:48 UTC (rev 130481)
@@ -65,7 +65,6 @@
typedef struct _GKeyFile GKeyFile;
typedef struct _GPtrArray GPtrArray;
typedef struct _GByteArray GByteArray;
-typedef struct _GBytes GBytes;
#if USE(CAIRO)
typedef struct _cairo_surface cairo_surface_t;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes