[Webkit-unassigned] [Bug 44508] [EFL] Add PlatformVideoWindowEfl.cpp for WebKit EFL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 24 04:28:34 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44508
--- Comment #3 from Philippe Normand <pnormand at igalia.com> 2010-08-24 04:28:33 PST ---
(From update of attachment 65250)
>+#if PLATFORM(EFL)
>+#if ENABLE(GLIB_SUPPORT)
>+#include <glib.h>
>+#endif
>+#endif
>+
I think the guards can be removed because glib.h is required for the use of gulong below anyway.
The only reason why it works currently is that gtk.h includes glib.h
> namespace WebCore {
>
> class PlatformVideoWindow : public RefCounted<PlatformVideoWindow> {
>@@ -39,12 +45,16 @@ class PlatformVideoWindow : public RefCounted<PlatformVideoWindow> {
> PlatformVideoWindow();
> ~PlatformVideoWindow();
>
>+#if PLATFORM(GTK)
> PlatformWindowType* window() const { return m_window; }
>+#endif
> gulong videoWindowId() const { return m_videoWindowId; }
>
> private:
> gulong m_videoWindowId;
>+#if PLATFORM(GTK)
> PlatformWindowType* m_videoWindow;
>+#endif
This is wrong. You need to add a typedef for your platform so PlatformWindowType is valid.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list