| Index: Source/web/PopupListBox.cpp
|
| diff --git a/Source/web/PopupListBox.cpp b/Source/web/PopupListBox.cpp
|
| index 44502e0fbc61182e200d0757d9c0d4bf3fc4545c..523701127534d858143546ed3a7ee994bb2b1e5a 100644
|
| --- a/Source/web/PopupListBox.cpp
|
| +++ b/Source/web/PopupListBox.cpp
|
| @@ -129,7 +129,7 @@ bool PopupListBox::handleMouseReleaseEvent(const PlatformMouseEvent& event)
|
| {
|
| if (m_capturingScrollbar) {
|
| m_capturingScrollbar->mouseUp(event);
|
| - m_capturingScrollbar = 0;
|
| + m_capturingScrollbar = nullptr;
|
| return true;
|
| }
|
|
|
| @@ -142,7 +142,7 @@ bool PopupListBox::handleMouseReleaseEvent(const PlatformMouseEvent& event)
|
|
|
| // Clear m_focusedElement here, because we cannot clear in hidePopup()
|
| // which is called before dispatchMouseEvent() is called.
|
| - m_focusedElement = 0;
|
| + m_focusedElement = nullptr;
|
| }
|
|
|
| return true;
|
| @@ -472,7 +472,7 @@ Font PopupListBox::getRowFont(int rowIndex)
|
| FontDescription d = itemFont.fontDescription();
|
| d.setWeight(FontWeightBold);
|
| Font font(d);
|
| - font.update(0);
|
| + font.update(nullptr);
|
| return font;
|
| }
|
|
|
|
|