Changeset 55716 in webkit
- Timestamp:
- Mar 9, 2010 1:01:36 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 7 edited
- 2 copied
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r55714 r55716 1 2010-03-09 Philippe Normand <pnormand@igalia.com> 2 3 Reviewed by Gustavo Noronha Silva. 4 5 [GStreamer] player code cleanups 6 https://bugs.webkit.org/show_bug.cgi?id=35868 7 8 Splitted GOwnPtrGtk.{cpp,h} to GOwnPtr{Soup,GStreamer}.{cpp,h}. 9 10 * GNUmakefile.am: 11 * platform/graphics/gstreamer/GOwnPtrGStreamer.cpp: Added. 12 (WTF::GstElement): 13 * platform/graphics/gstreamer/GOwnPtrGStreamer.h: Added. 14 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: 15 * platform/gtk/GOwnPtrGtk.cpp: Removed. 16 * platform/gtk/GOwnPtrGtk.h: Removed. 17 * platform/network/soup/CookieJarSoup.cpp: 18 * platform/network/soup/DNSSoup.cpp: 19 * platform/network/soup/GOwnPtrSoup.cpp: Added. 20 (WTF::SoupURI): 21 * platform/network/soup/GOwnPtrSoup.h: Added. 22 * platform/network/soup/ResourceHandleSoup.cpp: 23 * platform/network/soup/ResourceRequestSoup.cpp: 24 1 25 2010-03-09 Shinichiro Hamaji <hamaji@chromium.org> 2 26 -
trunk/WebCore/GNUmakefile.am
r55670 r55716 2038 2038 WebCore/platform/gtk/GRefPtrGtk.cpp \ 2039 2039 WebCore/platform/gtk/GRefPtrGtk.h \ 2040 WebCore/platform/gtk/GOwnPtrGtk.cpp \2041 WebCore/platform/gtk/GOwnPtrGtk.h \2042 2040 WebCore/platform/gtk/GtkPluginWidget.cpp \ 2043 2041 WebCore/platform/gtk/GtkPluginWidget.h \ … … 2096 2094 WebCore/platform/network/soup/ResourceRequest.h \ 2097 2095 WebCore/platform/network/soup/ResourceResponse.h \ 2096 WebCore/platform/network/soup/GOwnPtrSoup.h \ 2097 WebCore/platform/network/soup/GOwnPtrSoup.cpp \ 2098 2098 WebCore/workers/SharedWorkerRepository.h 2099 2099 … … 2437 2437 WebCore/platform/graphics/gstreamer/DataSourceGStreamer.cpp \ 2438 2438 WebCore/platform/graphics/gstreamer/DataSourceGStreamer.h \ 2439 WebCore/platform/graphics/gstreamer/GOwnPtrGStreamer.cpp \ 2440 WebCore/platform/graphics/gstreamer/GOwnPtrGStreamer.h \ 2439 2441 WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp \ 2440 2442 WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.h -
trunk/WebCore/platform/graphics/gstreamer/GOwnPtrGStreamer.cpp
r55715 r55716 19 19 20 20 #include "config.h" 21 #include "GOwnPtrG tk.h"21 #include "GOwnPtrGStreamer.h" 22 22 23 23 #if ENABLE(VIDEO) 24 24 #include <gst/gstelement.h> 25 #endif26 #include <libsoup/soup-uri.h>27 25 28 26 namespace WTF { 29 27 30 template <> void freeOwnedGPtr<SoupURI>(SoupURI* ptr)31 {32 if (ptr)33 soup_uri_free(ptr);34 }35 36 #if ENABLE(VIDEO)37 28 template <> void freeOwnedGPtr<GstElement>(GstElement* ptr) 38 29 { -
trunk/WebCore/platform/graphics/gstreamer/GOwnPtrGStreamer.h
r55715 r55716 18 18 */ 19 19 20 #ifndef GOwnPtrG tk_h21 #define GOwnPtrG tk_h20 #ifndef GOwnPtrGStreamer_h 21 #define GOwnPtrGStreamer_h 22 22 23 23 #include "GOwnPtr.h" 24 24 25 typedef struct _SoupURI SoupURI;26 25 typedef struct _GstElement GstElement; 27 26 28 27 namespace WTF { 29 28 30 template<> void freeOwnedGPtr<SoupURI>(SoupURI* ptr);31 29 template<> void freeOwnedGPtr<GstElement>(GstElement* ptr); 32 30 -
trunk/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
r55657 r55716 34 34 #include "Frame.h" 35 35 #include "FrameView.h" 36 #include "GOwnPtrG tk.h"36 #include "GOwnPtrGStreamer.h" 37 37 #include "GraphicsContext.h" 38 38 #include "IntRect.h" -
trunk/WebCore/platform/network/soup/CookieJarSoup.cpp
r54707 r55716 25 25 #include "CString.h" 26 26 #include "Document.h" 27 #include "GOwnPtr Gtk.h"27 #include "GOwnPtrSoup.h" 28 28 #include "KURL.h" 29 29 -
trunk/WebCore/platform/network/soup/DNSSoup.cpp
r54375 r55716 29 29 30 30 #include "CString.h" 31 #include "GOwnPtr Gtk.h"31 #include "GOwnPtrSoup.h" 32 32 #include "ResourceHandle.h" 33 33 -
trunk/WebCore/platform/network/soup/GOwnPtrSoup.cpp
r55715 r55716 19 19 20 20 #include "config.h" 21 #include "GOwnPtr Gtk.h"21 #include "GOwnPtrSoup.h" 22 22 23 #if ENABLE(VIDEO)24 #include <gst/gstelement.h>25 #endif26 23 #include <libsoup/soup-uri.h> 27 24 … … 34 31 } 35 32 36 #if ENABLE(VIDEO)37 template <> void freeOwnedGPtr<GstElement>(GstElement* ptr)38 {39 if (ptr)40 gst_object_unref(ptr);41 33 } 42 #endif43 44 } -
trunk/WebCore/platform/network/soup/GOwnPtrSoup.h
r55715 r55716 18 18 */ 19 19 20 #ifndef GOwnPtr Gtk_h21 #define GOwnPtr Gtk_h20 #ifndef GOwnPtrSoup_h 21 #define GOwnPtrSoup_h 22 22 23 23 #include "GOwnPtr.h" 24 24 25 25 typedef struct _SoupURI SoupURI; 26 typedef struct _GstElement GstElement;27 26 28 27 namespace WTF { 29 28 30 29 template<> void freeOwnedGPtr<SoupURI>(SoupURI* ptr); 31 template<> void freeOwnedGPtr<GstElement>(GstElement* ptr);32 30 33 31 } -
trunk/WebCore/platform/network/soup/ResourceHandleSoup.cpp
r55692 r55716 35 35 #include "FileSystem.h" 36 36 #include "Frame.h" 37 #include "GOwnPtr Gtk.h"37 #include "GOwnPtrSoup.h" 38 38 #include "HTTPParsers.h" 39 39 #include "Logging.h" -
trunk/WebCore/platform/network/soup/ResourceRequestSoup.cpp
r55086 r55716 23 23 #include "CString.h" 24 24 #include "GOwnPtr.h" 25 #include "GOwnPtr Gtk.h"25 #include "GOwnPtrSoup.h" 26 26 #include "HTTPParsers.h" 27 27 #include "MIMETypeRegistry.h"
Note: See TracChangeset
for help on using the changeset viewer.