Title: [90692] trunk/Source/WebCore
Revision
90692
Author
par...@webkit.org
Date
2011-07-10 09:32:52 -0700 (Sun, 10 Jul 2011)

Log Message

Reviewed by Adam Barth.

Fix member variable order of ContextMenuItem
https://bugs.webkit.org/show_bug.cgi?id=59905

Use the same order at decleration and assignment to silence compiler warning.

* platform/ContextMenuItem.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (90691 => 90692)


--- trunk/Source/WebCore/ChangeLog	2011-07-10 15:37:30 UTC (rev 90691)
+++ trunk/Source/WebCore/ChangeLog	2011-07-10 16:32:52 UTC (rev 90692)
@@ -1,3 +1,14 @@
+2011-07-10  Patrick Gansterer  <par...@webkit.org>
+
+        Reviewed by Adam Barth.
+
+        Fix member variable order of ContextMenuItem
+        https://bugs.webkit.org/show_bug.cgi?id=59905
+
+        Use the same order at decleration and assignment to silence compiler warning.
+
+        * platform/ContextMenuItem.h:
+
 2011-07-10  Dan Bernstein  <m...@apple.com>
 
         <rdar://problem/9750062> REGRESSION: Button text missing in many iTunes Store pages

Modified: trunk/Source/WebCore/platform/ContextMenuItem.h (90691 => 90692)


--- trunk/Source/WebCore/platform/ContextMenuItem.h	2011-07-10 15:37:30 UTC (rev 90691)
+++ trunk/Source/WebCore/platform/ContextMenuItem.h	2011-07-10 16:32:52 UTC (rev 90692)
@@ -287,11 +287,11 @@
 #endif // USE(CROSS_PLATFORM_CONTEXT_MENUS)
     private:
 #if USE(CROSS_PLATFORM_CONTEXT_MENUS)
+        ContextMenuItemType m_type;
+        ContextMenuAction m_action;
         String m_title;
         bool m_enabled;
         bool m_checked;
-        ContextMenuAction m_action;
-        ContextMenuItemType m_type;
         Vector<ContextMenuItem> m_subMenuItems;
 #else
 #if PLATFORM(MAC)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to