Changeset 50670 in webkit
- Timestamp:
- Nov 9, 2009 11:26:20 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r50666 r50670 1 2009-11-09 Laszlo Gombos <laszlo.1.gombos@nokia.com> 2 3 Reviewed by Jan Alonzo. 4 5 Make XP_UNIX tests consistent 6 https://bugs.webkit.org/show_bug.cgi?id=31250 7 8 No new tests as there is no functional change. 9 10 * plugins/PluginView.cpp: 11 (WebCore::PluginView::setFrameRect): Test if XP_UNIX is defined 12 instead of the value of the macro 13 14 * plugins/gtk/PluginViewGtk.cpp: 15 (WebCore::PluginView::setNPWindowIfNeeded): Test if the XP_UNIX is 16 defined instead of using the PLATFORM macro to be consistent 17 (WebCore::PluginView::getValue): Ditto. 18 1 19 2009-11-09 Kevin Watters <kevinwatters@gmail.com> 2 20 -
trunk/WebCore/plugins/PluginView.cpp
r49963 r50670 128 128 // On Windows and Symbian, always call plugin to change geometry. 129 129 setNPWindowRect(rect); 130 #elif XP_UNIX130 #elif defined(XP_UNIX) 131 131 // On Unix, multiple calls to setNPWindow() in windowed mode causes Flash to crash 132 132 if (m_mode == NP_FULL || !m_isWindowed) -
trunk/WebCore/plugins/gtk/PluginViewGtk.cpp
r49060 r50670 228 228 GtkAllocation allocation = { m_windowRect.x(), m_windowRect.y(), m_windowRect.width(), m_windowRect.height() }; 229 229 gtk_widget_size_allocate(platformPluginWidget(), &allocation); 230 #if PLATFORM(XP_UNIX)230 #if defined(XP_UNIX) 231 231 if (!m_needsXEmbed) { 232 232 gtk_xtbin_set_position(GTK_XTBIN(platformPluginWidget()), m_windowRect.x(), m_windowRect.y()); … … 333 333 #endif 334 334 335 #if PLATFORM(XP_UNIX)335 #if defined(XP_UNIX) 336 336 case NPNVxtAppContext: 337 337 if (!m_needsXEmbed) {
Note: See TracChangeset
for help on using the changeset viewer.