Bug 773151: provide back-compatibility for external API code using nsCAutoString CLOSED TREE r=bsmedberg
authorRandell Jesup <rjesup@jesup.org>
Sat, 14 Jul 2012 00:01:09 -0400
changeset 104107 cb033f52d08f71bc3639518bfddbcff6c5820951
parent 104106 3d9424eb6eb473cfd14309fd635ff7d6e29322c2
child 104108 09b4f8b937cb0cdfca053b5c876c5a79b572040e
push id14339
push userrjesup@wgate.com
push dateSun, 02 Sep 2012 03:10:45 +0000
treeherdermozilla-inbound@cb033f52d08f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs773151
milestone18.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 773151: provide back-compatibility for external API code using nsCAutoString CLOSED TREE r=bsmedberg
xpcom/glue/nsStringAPI.h
--- a/xpcom/glue/nsStringAPI.h
+++ b/xpcom/glue/nsStringAPI.h
@@ -1430,9 +1430,12 @@ typedef nsString PromiseFlatString;
 typedef nsCString PromiseFlatCString;
 
 typedef nsCString nsAutoCString;
 typedef nsString nsAutoString;
 
 NS_HIDDEN_(bool) ParseString(const nsACString& aAstring, char aDelimiter, 
                                nsTArray<nsCString>& aArray);
 
+/* for back compatibility for pre-name-change code */
+typedef nsAutoCString nsCAutoString;
+
 #endif // nsStringAPI_h__