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

Unified Diff: Source/core/editing/ApplyStyleCommand.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/editing/ApplyBlockElementCommand.cpp ('k') | Source/core/editing/CompositeEditCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/ApplyStyleCommand.cpp
diff --git a/Source/core/editing/ApplyStyleCommand.cpp b/Source/core/editing/ApplyStyleCommand.cpp
index 670a6eac8dc22bbf8ea3b2ca7853d2aa9e9ef084..f14fc0a796b5b1e555d19882fa40560672250ab0 100644
--- a/Source/core/editing/ApplyStyleCommand.cpp
+++ b/Source/core/editing/ApplyStyleCommand.cpp
@@ -125,7 +125,7 @@ ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* sty
, m_start(endingSelection().start().downstream())
, m_end(endingSelection().end().upstream())
, m_useEndingSelection(true)
- , m_styledInlineElement(0)
+ , m_styledInlineElement(nullptr)
, m_removeOnly(false)
, m_isInlineElementToRemoveFunction(0)
{
@@ -139,7 +139,7 @@ ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* sty
, m_start(start)
, m_end(end)
, m_useEndingSelection(false)
- , m_styledInlineElement(0)
+ , m_styledInlineElement(nullptr)
, m_removeOnly(false)
, m_isInlineElementToRemoveFunction(0)
{
@@ -167,7 +167,7 @@ ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* sty
, m_start(endingSelection().start().downstream())
, m_end(endingSelection().end().upstream())
, m_useEndingSelection(true)
- , m_styledInlineElement(0)
+ , m_styledInlineElement(nullptr)
, m_removeOnly(true)
, m_isInlineElementToRemoveFunction(isInlineElementToRemoveFunction)
{
@@ -536,8 +536,8 @@ static Node* highestEmbeddingAncestor(Node* startNode, Node* enclosingNode)
void ApplyStyleCommand::applyInlineStyle(EditingStyle* style)
{
- RefPtr<Node> startDummySpanAncestor = 0;
- RefPtr<Node> endDummySpanAncestor = 0;
+ RefPtr<Node> startDummySpanAncestor = nullptr;
+ RefPtr<Node> endDummySpanAncestor = nullptr;
// update document layout once before removing styles
// so that we avoid the expense of updating before each and every call
« no previous file with comments | « Source/core/editing/ApplyBlockElementCommand.cpp ('k') | Source/core/editing/CompositeEditCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698