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

Unified Diff: Source/core/events/TextEvent.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/core/events/PopStateEvent.cpp ('k') | Source/core/events/UIEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/TextEvent.cpp
diff --git a/Source/core/events/TextEvent.cpp b/Source/core/events/TextEvent.cpp
index 2ed8274e5802564d6224a897d27bb7b7f804768f..975158c601a57eadd10db3c5f82dc79acf210b76 100644
--- a/Source/core/events/TextEvent.cpp
+++ b/Source/core/events/TextEvent.cpp
@@ -43,7 +43,7 @@ PassRefPtr<TextEvent> TextEvent::create(PassRefPtr<AbstractView> view, const Str
PassRefPtr<TextEvent> TextEvent::createForPlainTextPaste(PassRefPtr<AbstractView> view, const String& data, bool shouldSmartReplace)
{
- return adoptRef(new TextEvent(view, data, 0, shouldSmartReplace, false));
+ return adoptRef(new TextEvent(view, data, nullptr, shouldSmartReplace, false));
}
PassRefPtr<TextEvent> TextEvent::createForFragmentPaste(PassRefPtr<AbstractView> view, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle)
@@ -68,7 +68,7 @@ TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEven
: UIEvent(EventTypeNames::textInput, true, true, view, 0)
, m_inputType(inputType)
, m_data(data)
- , m_pastingFragment(0)
+ , m_pastingFragment(nullptr)
, m_shouldSmartReplace(false)
, m_shouldMatchStyle(false)
{
« no previous file with comments | « Source/core/events/PopStateEvent.cpp ('k') | Source/core/events/UIEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698