mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
fix debug compile error in nsCookie.h. b=394243, r+sr=biesi, a=mconnor
This commit is contained in:
parent
99149ab022
commit
1fc7fa153e
@ -56,14 +56,9 @@
|
||||
|
||||
class nsCookie : public nsICookie2
|
||||
{
|
||||
// break up the NS_DECL_ISUPPORTS macro, since we use a bitfield refcount member
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
protected:
|
||||
NS_DECL_OWNINGTHREAD
|
||||
|
||||
public:
|
||||
// nsISupports
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSICOOKIE
|
||||
NS_DECL_NSICOOKIE2
|
||||
|
||||
@ -87,7 +82,6 @@ class nsCookie : public nsICookie2
|
||||
, mEnd(aEnd)
|
||||
, mExpiry(aExpiry)
|
||||
, mCreationID(aCreationID)
|
||||
, mRefCnt(0)
|
||||
, mIsSession(aIsSession != PR_FALSE)
|
||||
, mIsSecure(aIsSecure != PR_FALSE)
|
||||
, mIsHttpOnly(aIsHttpOnly != PR_FALSE)
|
||||
@ -141,20 +135,19 @@ class nsCookie : public nsICookie2
|
||||
// store a terminating null for each string, so we can hand them
|
||||
// out as nsAFlatCStrings.
|
||||
|
||||
nsCookie *mNext;
|
||||
const char *mName;
|
||||
const char *mValue;
|
||||
const char *mHost;
|
||||
const char *mPath;
|
||||
const char *mEnd;
|
||||
PRInt64 mExpiry;
|
||||
nsCookie *mNext;
|
||||
const char *mName;
|
||||
const char *mValue;
|
||||
const char *mHost;
|
||||
const char *mPath;
|
||||
const char *mEnd;
|
||||
PRInt64 mExpiry;
|
||||
// creation id is unique for each cookie and approximately represents the cookie
|
||||
// creation time, in microseconds.
|
||||
PRInt64 mCreationID;
|
||||
PRUint32 mRefCnt : 16;
|
||||
PRUint32 mIsSession : 1;
|
||||
PRUint32 mIsSecure : 1;
|
||||
PRUint32 mIsHttpOnly: 1;
|
||||
PRInt64 mCreationID;
|
||||
PRPackedBool mIsSession;
|
||||
PRPackedBool mIsSecure;
|
||||
PRPackedBool mIsHttpOnly;
|
||||
};
|
||||
|
||||
#endif // nsCookie_h__
|
||||
|
Loading…
Reference in New Issue
Block a user