Bug 956507 - Remove the PRUnichar typedef from Char16.h; r=jcranmer

--HG--
extra : rebase_source : 372ddaf10a7c65fb6d0c0c44181c61fc93577a01
This commit is contained in:
Ehsan Akhgari 2014-01-07 22:16:17 -05:00
parent dd19798c04
commit 2bc8c835b8
2 changed files with 1 additions and 5 deletions

View File

@ -82,7 +82,7 @@ LogBlockedRequest(nsIRequest* aRequest)
// Generate the error message
nsXPIDLString blockedMessage;
NS_ConvertUTF8toUTF16 specUTF16(spec);
const PRUnichar* params[] = { specUTF16.get() };
const char16_t* params[] = { specUTF16.get() };
rv = nsContentUtils::FormatLocalizedString(nsContentUtils::eSECURITY_PROPERTIES,
"CrossSiteRequestBlocked",
params,

View File

@ -168,10 +168,6 @@ typedef const char16_t* char16ptr_t;
#endif
/* This is a temporary hack until bug 927728 is fixed. */
#define __PRUNICHAR__
typedef char16_t PRUnichar;
/*
* Macro arguments used in concatenation or stringification won't be expanded.
* Therefore, in order for |MOZ_UTF16(FOO)| to work as expected (which is to