Bug 1225682 - Don't use nsAuto{,C}String as class member variables in rdf/. r=Pike
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 19 Nov 2015 18:30:38 +0900
changeset 309276 210627948092e43ce6e0e983870ef2264f070601
parent 309275 958002a310a3c91c926fffc5fd53dba707604d70
child 309277 15bbe7c7bb3c03b6da28b893ba6f35bf7bf8fed5
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersPike
bugs1225682
milestone45.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 1225682 - Don't use nsAuto{,C}String as class member variables in rdf/. r=Pike
rdf/base/nsRDFService.h
--- a/rdf/base/nsRDFService.h
+++ b/rdf/base/nsRDFService.h
@@ -39,17 +39,17 @@ class RDFServiceImpl final : public nsIR
 protected:
     PLHashTable* mNamedDataSources;
     PLDHashTable mResources;
     PLDHashTable mLiterals;
     PLDHashTable mInts;
     PLDHashTable mDates;
     PLDHashTable mBlobs;
 
-    nsAutoCString mLastURIPrefix;
+    nsCString mLastURIPrefix;
     nsCOMPtr<nsIFactory> mLastFactory;
     nsCOMPtr<nsIFactory> mDefaultResourceFactory;
 
     RDFServiceImpl();
     nsresult Init();
     virtual ~RDFServiceImpl();
 
 public: