On 1/10/2014 12:19 AM, Daniel Holbert wrote:
Just to be clear -- does this mean we should strictly prefer
str.Assign(NS_LITERAL_STRING("foo")) over str.AssignLiteral("foo") now?
For wide strings, I'm pretty sure the pattern we want is AssignLiteral(MOZ_UTF16("foo")). And as Henri mentioned, we probably want to remove the char version once that happens.

We'll be filing followups once we're sure this sticks.

--BDS

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to