Bug 1225682 - Don't use nsAuto{,C}String as class member variables in security/manager/. r=keeler

This commit is contained in:
Mike Hommey 2015-11-19 18:30:46 +09:00
parent 140d330de3
commit ba541e4fd1

View File

@ -12,8 +12,8 @@
// Utility class for handing back parsed directives and (optional) values
class nsSecurityHeaderDirective : public mozilla::LinkedListElement<nsSecurityHeaderDirective> {
public:
nsAutoCString mName;
nsAutoCString mValue;
nsCString mName;
nsCString mValue;
};
// This class parses security-related HTTP headers like
@ -67,7 +67,7 @@ private:
const char *mCursor;
nsSecurityHeaderDirective *mDirective;
nsAutoCString mOutput;
nsCString mOutput;
bool mError;
};