Replace 0 and NULL with nullptr in WebCore/editing.
authorhs85.jeong@samsung.com <hs85.jeong@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Oct 2015 17:09:56 +0000 (17:09 +0000)
committerhs85.jeong@samsung.com <hs85.jeong@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Oct 2015 17:09:56 +0000 (17:09 +0000)
commit218ca5beb29c1cd0d8d4fa90d90c4a5686c68212
treedd5cbfbe18adf45cbd104195444025f1ccfd77fb
parentfe2fe11b425467fee279cfdea5a5fa539103d115
Replace 0 and NULL with nullptr in WebCore/editing.
https://bugs.webkit.org/show_bug.cgi?id=150555

Reviewed by Darin Adler.

No new tests because there is no behavior change.

* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::ApplyStyleCommand):
(WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):
(WebCore::ApplyStyleCommand::applyInlineStyle):
* editing/ApplyStyleCommand.h:
(WebCore::ApplyStyleCommand::shouldRemoveInlineStyleFromElement):
* editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::applyCommandToComposite):
(WebCore::CompositeEditCommand::deleteInsignificantText):
* editing/DeleteSelectionCommand.cpp:
(WebCore::DeleteSelectionCommand::DeleteSelectionCommand):
(WebCore::DeleteSelectionCommand::initializeStartEnd):
* editing/EditCommand.cpp:
(WebCore::EditCommand::EditCommand):
* editing/EditCommand.h:
* editing/EditingStyle.cpp:
(WebCore::HTMLElementEquivalent::HTMLElementEquivalent):
* editing/EditingStyle.h:
(WebCore::EditingStyle::conflictsWithInlineStyleOfElement):
* editing/Editor.h:
* editing/EditorCommand.cpp:
(WebCore::Editor::commandIsSupportedFromMenuOrKeyBinding):
(WebCore::Editor::Command::Command):
* editing/FrameSelection.cpp:
(WebCore::DragCaretController::setCaretPosition):
(WebCore::FrameSelection::directionOfSelection):
* editing/MarkupAccumulator.cpp:
(WebCore::MarkupAccumulator::entityMaskForText):
* editing/MarkupAccumulator.h:
* editing/RenderedPosition.cpp:
(WebCore::rendererFromPosition):
(WebCore::RenderedPosition::RenderedPosition):
* editing/RenderedPosition.h:
(WebCore::RenderedPosition::operator==):
(WebCore::RenderedPosition::uncachedInlineBox):
(WebCore::RenderedPosition::RenderedPosition):
* editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplaceSelectionCommand::handleStyleSpans):
* editing/SetNodeAttributeCommand.cpp:
(WebCore::SetNodeAttributeCommand::doUnapply):
* editing/SmartReplaceCF.cpp:
(WebCore::getSmartSet):
* editing/SpellChecker.cpp:
(WebCore::SpellCheckRequest::SpellCheckRequest):
(WebCore::SpellCheckRequest::didSucceed):
(WebCore::SpellCheckRequest::didCancel):
(WebCore::SpellCheckRequest::setCheckerAndSequence):
(WebCore::SpellCheckRequest::requesterDestroyed):
(WebCore::SpellChecker::SpellChecker):
* editing/SpellChecker.h:
* editing/VisiblePosition.cpp:
(WebCore::VisiblePosition::leftVisuallyDistinctCandidate):
(WebCore::VisiblePosition::rightVisuallyDistinctCandidate):
(WebCore::VisiblePosition::localCaretRect):
(WebCore::enclosingBlockFlowElement):
* editing/VisibleUnits.cpp:
(WebCore::CachedLogicallyOrderedLeafBoxes::CachedLogicallyOrderedLeafBoxes):
(WebCore::CachedLogicallyOrderedLeafBoxes::previousTextOrLineBreakBox):
(WebCore::visualWordPosition):
(WebCore::previousLinePosition):
(WebCore::nextLinePosition):
* editing/htmlediting.cpp:
(WebCore::highestEnclosingNodeOfType):
(WebCore::highestNodeToRemoveInPruning):
* editing/htmlediting.h:
(WebCore::firstPositionInOrBeforeNode):
* editing/ios/EditorIOS.mm:
(WebCore::Editor::setTextAlignmentForChangedBaseWritingDirection):
(WebCore::Editor::fontForSelection):
* editing/mac/AlternativeTextUIController.mm:
(WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
* editing/mac/EditorMac.mm:
(WebCore::Editor::fontForSelection):
* editing/markup.cpp:
* editing/markup.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
30 files changed:
Source/WebCore/ChangeLog
Source/WebCore/editing/ApplyStyleCommand.cpp
Source/WebCore/editing/ApplyStyleCommand.h
Source/WebCore/editing/CompositeEditCommand.cpp
Source/WebCore/editing/DeleteSelectionCommand.cpp
Source/WebCore/editing/EditCommand.cpp
Source/WebCore/editing/EditCommand.h
Source/WebCore/editing/EditingStyle.cpp
Source/WebCore/editing/EditingStyle.h
Source/WebCore/editing/Editor.h
Source/WebCore/editing/EditorCommand.cpp
Source/WebCore/editing/FrameSelection.cpp
Source/WebCore/editing/MarkupAccumulator.cpp
Source/WebCore/editing/MarkupAccumulator.h
Source/WebCore/editing/RenderedPosition.cpp
Source/WebCore/editing/RenderedPosition.h
Source/WebCore/editing/ReplaceSelectionCommand.cpp
Source/WebCore/editing/SetNodeAttributeCommand.cpp
Source/WebCore/editing/SmartReplaceCF.cpp
Source/WebCore/editing/SpellChecker.cpp
Source/WebCore/editing/SpellChecker.h
Source/WebCore/editing/VisiblePosition.cpp
Source/WebCore/editing/VisibleUnits.cpp
Source/WebCore/editing/htmlediting.cpp
Source/WebCore/editing/htmlediting.h
Source/WebCore/editing/ios/EditorIOS.mm
Source/WebCore/editing/mac/AlternativeTextUIController.mm
Source/WebCore/editing/mac/EditorMac.mm
Source/WebCore/editing/markup.cpp
Source/WebCore/editing/markup.h