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

--HG--
extra : rebase_source : f39105fcb15e1c7eccae5088b34352e849f1b2b6
This commit is contained in:
David Major 2017-03-14 15:26:37 +13:00
parent 1b75e4c73d
commit 84c2879b84

View File

@ -23,11 +23,9 @@
#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___) */