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

Unified Diff: Source/core/html/shadow/ClearButtonElement.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
Index: Source/core/html/shadow/ClearButtonElement.cpp
diff --git a/Source/core/html/shadow/ClearButtonElement.cpp b/Source/core/html/shadow/ClearButtonElement.cpp
index f3e0d1db56e63b0efa6a7c737c1ef5ea50d1d89b..faac6868b351579e5dcc8bbe2e872fa09f6b7517 100644
--- a/Source/core/html/shadow/ClearButtonElement.cpp
+++ b/Source/core/html/shadow/ClearButtonElement.cpp
@@ -55,7 +55,7 @@ void ClearButtonElement::detach(const AttachContext& context)
{
if (m_capturing) {
if (Frame* frame = document().frame())
- frame->eventHandler().setCapturingMouseEventsNode(0);
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr);
}
HTMLDivElement::detach(context);
}
@@ -66,7 +66,7 @@ void ClearButtonElement::releaseCapture()
return;
if (Frame* frame = document().frame()) {
- frame->eventHandler().setCapturingMouseEventsNode(0);
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr);
m_capturing = false;
}
}
@@ -98,7 +98,7 @@ void ClearButtonElement::defaultEventHandler(Event* event)
if (event->type() == EventTypeNames::mouseup && event->isMouseEvent() && toMouseEvent(event)->button() == LeftButton) {
if (m_capturing) {
if (Frame* frame = document().frame()) {
- frame->eventHandler().setCapturingMouseEventsNode(0);
+ frame->eventHandler().setCapturingMouseEventsNode(nullptr);
m_capturing = false;
}
if (hovered()) {
« no previous file with comments | « Source/core/html/parser/HTMLFormattingElementList.h ('k') | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698