Changeset 85851 in webkit
- Timestamp:
- May 5, 2011 7:14:09 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r85850 r85851 1 2011-05-05 Alexis Menard <alexis.menard@openbossa.org> 2 3 Reviewed by Andreas Kling. 4 5 [Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0. 6 https://bugs.webkit.org/show_bug.cgi?id=60224 7 8 We should use nullptr rather than 0. nullptr will be added in the new C++ standard 9 but WebKit already has a nullptr class if there is no c++0x support. 10 11 * platform/qt/RenderThemeQt.cpp: 12 (WebCore::RenderThemeQt::adjustProgressBarStyle): 13 (WebCore::RenderThemeQt::adjustSliderTrackStyle): 14 (WebCore::RenderThemeQt::adjustSliderThumbStyle): 15 1 16 2011-05-05 Ilya Tikhonovsky <loislo@chromium.org> 2 17 -
trunk/Source/WebCore/platform/qt/RenderThemeQt.cpp
r85009 r85851 854 854 void RenderThemeQt::adjustProgressBarStyle(CSSStyleSelector*, RenderStyle* style, Element*) const 855 855 { 856 style->setBoxShadow( 0);856 style->setBoxShadow(nullptr); 857 857 } 858 858 … … 951 951 void RenderThemeQt::adjustSliderTrackStyle(CSSStyleSelector*, RenderStyle* style, Element*) const 952 952 { 953 style->setBoxShadow( 0);953 style->setBoxShadow(nullptr); 954 954 } 955 955 … … 963 963 void RenderThemeQt::adjustSliderThumbStyle(CSSStyleSelector*, RenderStyle* style, Element*) const 964 964 { 965 style->setBoxShadow( 0);965 style->setBoxShadow(nullptr); 966 966 } 967 967 -
trunk/Source/WebKit/qt/ChangeLog
r85823 r85851 1 2011-05-05 Alexis Menard <alexis.menard@openbossa.org> 2 3 Reviewed by Andreas Kling. 4 5 [Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0. 6 https://bugs.webkit.org/show_bug.cgi?id=60224 7 8 We should use nullptr rather than 0. nullptr will be added in the new C++ standard 9 but WebKit already has a nullptr class if there is no c++0x support. 10 11 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: 12 (DumpRenderTreeSupportQt::addUserStyleSheet): 13 1 14 2011-05-04 Cris Neckar <cdn@chromium.org> 2 15 -
trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp
r85644 r85851 938 938 void DumpRenderTreeSupportQt::addUserStyleSheet(QWebPage* page, const QString& sourceCode) 939 939 { 940 page->handle()->page->group().addUserStyleSheetToWorld(mainThreadNormalWorld(), sourceCode, QUrl(), 0, 0, WebCore::InjectInAllFrames);940 page->handle()->page->group().addUserStyleSheetToWorld(mainThreadNormalWorld(), sourceCode, QUrl(), nullptr, nullptr, WebCore::InjectInAllFrames); 941 941 } 942 942
Note: See TracChangeset
for help on using the changeset viewer.