Remove 'EditCommand::isEditCommandComposition'.
authordewei_zhu@apple.com <dewei_zhu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jun 2017 03:12:15 +0000 (03:12 +0000)
committerdewei_zhu@apple.com <dewei_zhu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jun 2017 03:12:15 +0000 (03:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173525

Reviewed by Wenson Hsieh.

Should remove 'isEditCommandComposition' from 'EditCommand' for:
    1. 'EditCommandComposition' is no longer a subclass of EditCommand.
    2. 'isEditCommandComposition' is not used at all.

* editing/EditCommand.h:
(WebCore::EditCommand::isCompositeEditCommand):
(WebCore::EditCommand::isEditCommandComposition): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218467 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/editing/EditCommand.h

index 5e8cc68..66357e9 100644 (file)
@@ -1,3 +1,18 @@
+2017-06-18  Dewei Zhu  <dewei_zhu@apple.com>
+
+        Remove 'EditCommand::isEditCommandComposition'.
+        https://bugs.webkit.org/show_bug.cgi?id=173525
+
+        Reviewed by Wenson Hsieh.
+
+        Should remove 'isEditCommandComposition' from 'EditCommand' for:
+            1. 'EditCommandComposition' is no longer a subclass of EditCommand.
+            2. 'isEditCommandComposition' is not used at all.
+
+        * editing/EditCommand.h:
+        (WebCore::EditCommand::isCompositeEditCommand):
+        (WebCore::EditCommand::isEditCommandComposition): Deleted.
+
 2017-06-18  Chris Dumez  <cdumez@apple.com>
 
         Crash when re-entering MediaDevicesEnumerationRequest::cancel()
index a054589..4fc0cb7 100644 (file)
@@ -56,7 +56,6 @@ public:
     virtual bool isInsertTextCommand() const { return false; }    
     virtual bool isSimpleEditCommand() const { return false; }
     virtual bool isCompositeEditCommand() const { return false; }
-    virtual bool isEditCommandComposition() const { return false; }
     bool isTopLevelCommand() const { return !m_parent; }
 
     virtual void doApply() = 0;