Bug 1311235 part.1 Remove NS_ERROR_EDITOR_NO_SELECTION and NS_ERROR_EDITOR_NO_TEXTNODE since nobody uses them r=Ehsan
authorMasayuki Nakano <masayuki@d-toybox.com>
Wed, 19 Oct 2016 13:09:32 +0900
changeset 428124 9d74c8cfdec3ec663f374b89a3bf2095b435a4ad
parent 428123 2ec35e0e63b5b34de6f90dec0f0cbfaed76a7680
child 428125 ce5ec4fc9f709a2db933ba62756300277c149926
push id33225
push userbmo:dmu@mozilla.com
push dateFri, 21 Oct 2016 15:19:23 +0000
reviewersEhsan
bugs1311235
milestone52.0a1
Bug 1311235 part.1 Remove NS_ERROR_EDITOR_NO_SELECTION and NS_ERROR_EDITOR_NO_TEXTNODE since nobody uses them r=Ehsan MozReview-Commit-ID: LHzlHSGMM2u
xpcom/base/ErrorList.h
--- a/xpcom/base/ErrorList.h
+++ b/xpcom/base/ErrorList.h
@@ -601,19 +601,17 @@
   ERROR(NS_IMAGELIB_ERROR_NO_ENCODER,    FAILURE(9)),
 #undef MODULE
 
 
   /* ======================================================================= */
   /* 17: NS_ERROR_MODULE_EDITOR */
   /* ======================================================================= */
 #define MODULE NS_ERROR_MODULE_EDITOR
-  ERROR(NS_ERROR_EDITOR_NO_SELECTION,  FAILURE(1)),
-  ERROR(NS_ERROR_EDITOR_NO_TEXTNODE,   FAILURE(2)),
-  ERROR(NS_FOUND_TARGET,               FAILURE(3)),
+  ERROR(NS_FOUND_TARGET,               FAILURE(1)),
 
   ERROR(NS_EDITOR_ELEMENT_NOT_FOUND,   SUCCESS(1)),
 #undef MODULE
 
 
   /* ======================================================================= */
   /* 18: NS_ERROR_MODULE_XPCONNECT */
   /* ======================================================================= */