Skip to content
  • gyuyoung.kim@samsung.com's avatar
    Missing *explicit* keyword in editing. · 014ea322
    gyuyoung.kim@samsung.com authored
    https://bugs.webkit.org/show_bug.cgi?id=92055
    
    Reviewed by Ryosuke Niwa.
    
    Some constructors missed to use *explicit* keyword. They need to be added
    *explicit* keyword to contructor which has a parameter in order to avoid
    implicit type conversion.
    
    No new tests. Covered by existing tests.
    
    * editing/AlternativeTextController.h:
    (WebCore::AlternativeTextController::UNLESS_ENABLED):
    * editing/BreakBlockquoteCommand.h:
    (BreakBlockquoteCommand):
    * editing/DeleteButton.h:
    (DeleteButton):
    * editing/DeleteButtonController.h:
    (DeleteButtonController):
    * editing/EditCommand.h:
    (EditCommand):
    (WebCore::SimpleEditCommand::SimpleEditCommand):
    * editing/EditingBehavior.h:
    (WebCore::EditingBehavior::EditingBehavior):
    * editing/EditingStyle.h:
    (EditingStyle):
    * editing/Editor.h:
    (Editor):
    * editing/FrameSelection.h:
    (FrameSelection):
    * editing/InsertLineBreakCommand.h:
    (InsertLineBreakCommand):
    * editing/ModifySelectionListLevel.h:
    (ModifySelectionListLevelCommand):
    (DecreaseSelectionListLevelCommand):
    * editing/RemoveFormatCommand.h:
    (RemoveFormatCommand):
    * editing/RemoveNodeCommand.h:
    (RemoveNodeCommand):
    * editing/RemoveNodePreservingChildrenCommand.h:
    (RemoveNodePreservingChildrenCommand):
    * editing/ReplaceNodeWithSpanCommand.h:
    (ReplaceNodeWithSpanCommand):
    * editing/TextInsertionBaseCommand.h:
    (TextInsertionBaseCommand):
    * editing/UndoManager.h:
    (UndoManager):
    * editing/UnlinkCommand.h:
    (UnlinkCommand):
    * editing/WrapContentsInDummySpanCommand.h:
    (WrapContentsInDummySpanCommand):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    014ea322