2009-07-31 Xan Lopez <xlopez@igalia.com>
authorxan@webkit.org <xan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Aug 2009 04:07:05 +0000 (04:07 +0000)
committerxan@webkit.org <xan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Aug 2009 04:07:05 +0000 (04:07 +0000)
        Reviewed by Holger Freyther.

        Fix compiler warning.

        Initialize member variables in the correct order.

        * plugins/PluginView.cpp:
        (WebCore::PluginView::PluginView):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@46659 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/plugins/PluginView.cpp

index cc3e38c..621fc46 100644 (file)
@@ -1,3 +1,14 @@
+2009-07-31  Xan Lopez  <xlopez@igalia.com>
+
+        Reviewed by Holger Freyther.
+
+        Fix compiler warning.
+
+        Initialize member variables in the correct order.
+
+        * plugins/PluginView.cpp:
+        (WebCore::PluginView::PluginView):
+
 2009-07-31  Jon Honeycutt  <jhoneycutt@apple.com>
 
         Windows build fix!
index 54b5ba9..afc15af 100644 (file)
@@ -637,6 +637,7 @@ PluginView::PluginView(Frame* parentFrame, const IntSize& size, PluginPackage* p
     , m_popPopupsStateTimer(this, &PluginView::popPopupsStateTimerFired)
     , m_paramNames(0)
     , m_paramValues(0)
+    , m_mimeType(mimeType)
 #if defined(XP_MACOSX)
     , m_isWindowed(false)
 #else
@@ -664,7 +665,6 @@ PluginView::PluginView(Frame* parentFrame, const IntSize& size, PluginPackage* p
     , m_loadManually(loadManually)
     , m_manualStream(0)
     , m_isJavaScriptPaused(false)
-    , m_mimeType(mimeType)
 {
     if (!m_plugin) {
         m_status = PluginStatusCanNotFindPlugin;