mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 956507 - Remove the PRUnichar typedef from Char16.h; r=jcranmer
--HG-- extra : rebase_source : 372ddaf10a7c65fb6d0c0c44181c61fc93577a01
This commit is contained in:
parent
dd19798c04
commit
2bc8c835b8
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user