Bug 1344629 - Part 10: Bonus fix: Remove NS_LITERAL_STRING_INIT macros. r=dbaron
☠☠ backed out by 8d1f842be870 ☠ ☠
authorDavid Major <dmajor@mozilla.com>
Tue, 14 Mar 2017 15:26:37 +1300
changeset 347440 cf4273d3ac30ee8e9320ef1f70a6fd097ef3c7b8
parent 347439 a96390e044e0e82051335ad050222d1db73da65a
child 347441 4c62935c570fa37a3a0807d068e22565acb1f069
push id31496
push usercbook@mozilla.com
push dateTue, 14 Mar 2017 13:21:57 +0000
treeherdermozilla-central@9a26ed658fdc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1344629
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1344629 - Part 10: Bonus fix: Remove NS_LITERAL_STRING_INIT macros. r=dbaron As of the previous patch, these are now unused and aren't really buying us much. MozReview-Commit-ID: HGliIFAcBb7
xpcom/string/nsLiteralString.h
--- a/xpcom/string/nsLiteralString.h
+++ b/xpcom/string/nsLiteralString.h
@@ -18,16 +18,14 @@
 // declare nsLiteralCString
 #include "string-template-def-char.h"
 #include "nsTLiteralString.h"
 #include "string-template-undef.h"
 
 #include "mozilla/Char16.h"
 
 #define NS_LITERAL_STRING(s)                      static_cast<const nsLiteralString&>(nsLiteralString(u"" s))
-#define NS_LITERAL_STRING_INIT(n,s)               n(u"" s)
 #define NS_NAMED_LITERAL_STRING(n,s)              const nsLiteralString n(u"" s)
 
 #define NS_LITERAL_CSTRING(s)                     static_cast<const nsLiteralCString&>(nsLiteralCString("" s))
-#define NS_LITERAL_CSTRING_INIT(n,s)              n("" s)
 #define NS_NAMED_LITERAL_CSTRING(n,s)             const nsLiteralCString n("" s)
 
 #endif /* !defined(nsLiteralString_h___) */