Bug 1257262 - Removed invalid nsAString:Assign variant. r=bsmedberg
authorJacek Caban <jacek@codeweavers.com>
Tue, 29 Mar 2016 15:04:19 +0200
changeset 290923 e196794aa71a12b6d6a20f99cb5b8e0d95f035e2
parent 290922 8898c7f8ea957a2a1527ab37a48b01b37a4bcb3e
child 290924 187f53033554684b8f5cb00a548262d7fc46ed22
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs1257262
milestone48.0a1
Bug 1257262 - Removed invalid nsAString:Assign variant. r=bsmedberg
xpcom/string/nsTSubstring.h
--- a/xpcom/string/nsTSubstring.h
+++ b/xpcom/string/nsTSubstring.h
@@ -379,22 +379,16 @@ public:
                                                  const fallible_t&);
 
 #if defined(CharT_is_PRUnichar) && defined(MOZ_USE_CHAR16_WRAPPER)
   void Assign(char16ptr_t aData)
   {
     Assign(static_cast<const char16_t*>(aData));
   }
 
-  MOZ_WARN_UNUSED_RESULT bool Assign(char16ptr_t aData,
-                                     const fallible_t& aFallible)
-  {
-    return Assign(static_cast<const char16_t*>(aData), aFallible);
-  }
-
   void Assign(char16ptr_t aData, size_type aLength)
   {
     Assign(static_cast<const char16_t*>(aData), aLength);
   }
 
   MOZ_WARN_UNUSED_RESULT bool Assign(char16ptr_t aData, size_type aLength,
                                      const fallible_t& aFallible)
   {