Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1790)

Unified Diff: Source/web/PopupListBox.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | Source/web/WebDOMEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | Source/web/WebDOMEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698