Changeset 109555 in webkit
- Timestamp:
- Mar 2, 2012 4:45:05 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r109552 r109555 1 2012-03-02 Simon Hausmann <simon.hausmann@nokia.com> 2 3 [Qt] Fix tests run with WTR not using QStyle theme 4 https://bugs.webkit.org/show_bug.cgi?id=80147 5 6 Reviewed by Csaba Osztrogonác. 7 8 Use an environment variable (set by WTR) to select the QStyle theme. 9 This is a temporary kludge until we rebase the layout tests to use the 10 QStyle independent "mobile" theme. This also temporarily breaks the 11 force_static_libs_as_shared build. 12 13 * Target.pri: 14 * WebProcess/qt/WebProcessMainQt.cpp: 15 (WebKit::WebProcessMainQt): 16 1 17 2012-03-02 Simon Hausmann <simon.hausmann@nokia.com> 2 18 -
trunk/Source/WebKit2/Target.pri
r109552 r109555 726 726 WebProcess/qt/WebProcessQt.cpp 727 727 728 INCLUDEPATH += ../WebKit/qt/WebCoreSupport 728 729 729 730 mac: { -
trunk/Source/WebKit2/WebProcess/qt/WebProcessMainQt.cpp
r105475 r109555 44 44 #endif 45 45 46 #include "RenderThemeQStyle.h" 47 #include "ScrollbarThemeQStyle.h" 48 46 49 #ifndef NDEBUG 47 50 #if !OS(WINDOWS) … … 204 207 WebGraphicsLayer::initFactory(); 205 208 #endif 209 if (!qgetenv("QT_WEBKIT_USE_QSTYLE_THEME").isEmpty()) 210 RenderThemeQt::setCustomTheme(RenderThemeQStyle::create, new ScrollbarThemeQStyle); 206 211 207 212 WebKit::WebProcess::shared().initialize(identifier, RunLoop::main()); -
trunk/Tools/ChangeLog
r109554 r109555 1 2012-03-02 Simon Hausmann <simon.hausmann@nokia.com> 2 3 [Qt] Fix tests run with WTR not using QStyle theme 4 https://bugs.webkit.org/show_bug.cgi?id=80147 5 6 Reviewed by Csaba Osztrogonác. 7 8 * WebKitTestRunner/qt/main.cpp: 9 (main): Set environment variable for web process to use QStyle theme. 10 1 11 2012-03-02 Philippe Normand <pnormand@igalia.com> 2 12 -
trunk/Tools/WebKitTestRunner/qt/main.cpp
r106658 r109555 93 93 } 94 94 95 qputenv("QT_WEBKIT_USE_QSTYLE_THEME", "1"); 96 95 97 QQuickWebViewExperimental::setFlickableViewportEnabled(false); 96 98 QApplication app(argc, argv);
Note: See TracChangeset
for help on using the changeset viewer.