Changeset 59614 in webkit


Ignore:
Timestamp:
May 17, 2010 10:43:28 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-05-17 Tasuku Suzuki <tasuku.suzuki@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Fix compilation with QT_NO_COMBOBOX
https://bugs.webkit.org/show_bug.cgi?id=38324

  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createSelectPopup):
  • WebCoreSupport/QtFallbackWebPopup.cpp:
  • WebCoreSupport/QtFallbackWebPopup.h:
Location:
trunk/WebKit/qt
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r59611 r59614  
     12010-05-17  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] Fix compilation with QT_NO_COMBOBOX
     6        https://bugs.webkit.org/show_bug.cgi?id=38324
     7
     8        * WebCoreSupport/ChromeClientQt.cpp:
     9        (WebCore::ChromeClientQt::createSelectPopup):
     10        * WebCoreSupport/QtFallbackWebPopup.cpp:
     11        * WebCoreSupport/QtFallbackWebPopup.h:
     12
    1132010-05-17  Antti Koivisto  <koivisto@iki.fi>
    214
  • trunk/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp

    r59611 r59614  
    586586#if defined(Q_WS_MAEMO_5)
    587587    return new QtMaemoWebPopup;
     588#elif !defined(QT_NO_COMBOBOX)
     589    return new QtFallbackWebPopup;
    588590#else
    589     return new QtFallbackWebPopup;
     591    return result;
    590592#endif
    591593}
  • trunk/WebKit/qt/WebCoreSupport/QtFallbackWebPopup.cpp

    r57397 r59614  
    2121#include "config.h"
    2222#include "QtFallbackWebPopup.h"
     23
     24#ifndef QT_NO_COMBOBOX
    2325
    2426#include "HostWindow.h"
     
    226228
    227229}
     230
     231#endif // QT_NO_COMBOBOX
  • trunk/WebKit/qt/WebCoreSupport/QtFallbackWebPopup.h

    r57819 r59614  
    2323#include "QtAbstractWebPopup.h"
    2424#include <QComboBox>
     25
     26#ifndef QT_NO_COMBOBOX
    2527
    2628QT_BEGIN_NAMESPACE
     
    6870}
    6971
     72#endif // QT_NO_COMBOBOX
     73
    7074#endif // QtFallbackWebPopup_h
Note: See TracChangeset for help on using the changeset viewer.