Bug 1360803 - Follow-up: Align trunk with ESR code by replacing MakeSpan(). r=me
authorJorg K <jorgk@jorgk.com>
Tue, 06 Nov 2018 18:58:53 +0100
changeset 33666 dfeb481219e914f3b6c46c0aa949b385d7aec7bf
parent 33665 066cb8e1041ff8bf16dc231b95d06e75ad761008
child 33667 c7f02af5ea18f9ac0edaa488bd2756acad75ae76
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersme
bugs1360803
Bug 1360803 - Follow-up: Align trunk with ESR code by replacing MakeSpan(). r=me
mailnews/base/search/src/nsMsgSearchTerm.cpp
--- a/mailnews/base/search/src/nsMsgSearchTerm.cpp
+++ b/mailnews/base/search/src/nsMsgSearchTerm.cpp
@@ -596,17 +596,17 @@ nsresult nsMsgSearchTerm::ParseValue(cha
       quoteVal = true;
       inStream++;
     }
     int valueLen = PL_strlen(inStream);
     if (quoteVal && inStream[valueLen - 1] == '"')
       valueLen--;
 
     m_value.utf8String.Assign(inStream, valueLen);
-    CopyUTF8toUTF16(mozilla::MakeSpan(inStream, valueLen), m_value.utf16String);
+    CopyUTF8toUTF16(m_value.utf8String, m_value.utf16String);
   }
   else
   {
     switch (m_attribute)
     {
     case nsMsgSearchAttrib::Date:
       PR_ParseTimeString (inStream, false, &m_value.u.date);
       break;