Title: [160716] trunk/Source/WTF
Revision
160716
Author
[email protected]
Date
2013-12-17 10:45:54 -0800 (Tue, 17 Dec 2013)

Log Message

[Win] Fixed linker error with GStreamer.
https://bugs.webkit.org/show_bug.cgi?id=124861

Patch by Alex Christensen <[email protected]> on 2013-12-17
Reviewed by Martin Robinson.

* wtf/gobject/GOwnPtr.cpp:
(WTF::GError):
* wtf/gobject/GOwnPtr.h:
Added WTF_EXPORT_PRIVATE to freeOwnedGPtr<GError> declaration and definition.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (160715 => 160716)


--- trunk/Source/WTF/ChangeLog	2013-12-17 18:38:46 UTC (rev 160715)
+++ trunk/Source/WTF/ChangeLog	2013-12-17 18:45:54 UTC (rev 160716)
@@ -1,3 +1,15 @@
+2013-12-17  Alex Christensen  <[email protected]>
+
+        [Win] Fixed linker error with GStreamer.
+        https://bugs.webkit.org/show_bug.cgi?id=124861
+
+        Reviewed by Martin Robinson.
+
+        * wtf/gobject/GOwnPtr.cpp:
+        (WTF::GError):
+        * wtf/gobject/GOwnPtr.h:
+        Added WTF_EXPORT_PRIVATE to freeOwnedGPtr<GError> declaration and definition.
+
 2013-12-17  Benjamin Poulain  <[email protected]>
 
         Add a simple register allocator to WebCore for x86_64

Modified: trunk/Source/WTF/wtf/gobject/GOwnPtr.cpp (160715 => 160716)


--- trunk/Source/WTF/wtf/gobject/GOwnPtr.cpp	2013-12-17 18:38:46 UTC (rev 160715)
+++ trunk/Source/WTF/wtf/gobject/GOwnPtr.cpp	2013-12-17 18:45:54 UTC (rev 160716)
@@ -26,7 +26,7 @@
 
 namespace WTF {
 
-template <> void freeOwnedGPtr<GError>(GError* ptr)
+template <> WTF_EXPORT_PRIVATE void freeOwnedGPtr<GError>(GError* ptr)
 {
     if (ptr)
         g_error_free(ptr);

Modified: trunk/Source/WTF/wtf/gobject/GOwnPtr.h (160715 => 160716)


--- trunk/Source/WTF/wtf/gobject/GOwnPtr.h	2013-12-17 18:38:46 UTC (rev 160715)
+++ trunk/Source/WTF/wtf/gobject/GOwnPtr.h	2013-12-17 18:45:54 UTC (rev 160716)
@@ -33,7 +33,7 @@
 namespace WTF {
 
 template <typename T> inline void freeOwnedGPtr(T* ptr);
-template<> void freeOwnedGPtr<GError>(GError*);
+template<> WTF_EXPORT_PRIVATE void freeOwnedGPtr<GError>(GError*);
 template<> void freeOwnedGPtr<GList>(GList*);
 template<> void freeOwnedGPtr<GSList>(GSList*);
 template<> void freeOwnedGPtr<GPatternSpec>(GPatternSpec*);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to