Changeset 85851 in webkit


Ignore:
Timestamp:
May 5, 2011 7:14:09 AM (13 years ago)
Author:
alexis.menard@openbossa.org
Message:

2011-05-05 Alexis Menard <alexis.menard@openbossa.org>

Reviewed by Andreas Kling.

[Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0.
https://bugs.webkit.org/show_bug.cgi?id=60224

We should use nullptr rather than 0. nullptr will be added in the new C++ standard
but WebKit already has a nullptr class if there is no c++0x support.

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::addUserStyleSheet):

2011-05-05 Alexis Menard <alexis.menard@openbossa.org>

Reviewed by Andreas Kling.

[Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0.
https://bugs.webkit.org/show_bug.cgi?id=60224

We should use nullptr rather than 0. nullptr will be added in the new C++ standard
but WebKit already has a nullptr class if there is no c++0x support.

  • platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::adjustProgressBarStyle): (WebCore::RenderThemeQt::adjustSliderTrackStyle): (WebCore::RenderThemeQt::adjustSliderThumbStyle):
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85850 r85851  
     12011-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
    1162011-05-05  Ilya Tikhonovsky  <loislo@chromium.org>
    217
  • trunk/Source/WebCore/platform/qt/RenderThemeQt.cpp

    r85009 r85851  
    854854void RenderThemeQt::adjustProgressBarStyle(CSSStyleSelector*, RenderStyle* style, Element*) const
    855855{
    856     style->setBoxShadow(0);
     856    style->setBoxShadow(nullptr);
    857857}
    858858
     
    951951void RenderThemeQt::adjustSliderTrackStyle(CSSStyleSelector*, RenderStyle* style, Element*) const
    952952{
    953     style->setBoxShadow(0);
     953    style->setBoxShadow(nullptr);
    954954}
    955955
     
    963963void RenderThemeQt::adjustSliderThumbStyle(CSSStyleSelector*, RenderStyle* style, Element*) const
    964964{
    965     style->setBoxShadow(0);
     965    style->setBoxShadow(nullptr);
    966966}
    967967
  • trunk/Source/WebKit/qt/ChangeLog

    r85823 r85851  
     12011-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
    1142011-05-04  Cris Neckar  <cdn@chromium.org>
    215
  • trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp

    r85644 r85851  
    938938void DumpRenderTreeSupportQt::addUserStyleSheet(QWebPage* page, const QString& sourceCode)
    939939{
    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);
    941941}
    942942
Note: See TracChangeset for help on using the changeset viewer.