Bug 1334587 - Bustage fix. r=jkt, a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 19 May 2017 14:02:29 -0400
changeset 394021 22a02cb46ff22cc1d5428e138a956e349770e4ab
parent 394020 72da880beaeb8018297ae114eed9d7b04295f06d
child 394022 0241994e3aad3594cae0d42c7d80a2dff7b245e8
push id7332
push userryanvm@gmail.com
push dateFri, 19 May 2017 18:02:41 +0000
treeherdermozilla-beta@22a02cb46ff2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjkt, bustage
bugs1334587
milestone54.0
Bug 1334587 - Bustage fix. r=jkt, a=bustage
netwerk/cookie/nsCookie.h
--- a/netwerk/cookie/nsCookie.h
+++ b/netwerk/cookie/nsCookie.h
@@ -95,16 +95,17 @@ class nsCookie : public nsICookie2
     inline const nsDependentCString Path()  const { return nsDependentCString(mPath, mEnd); }
     inline int64_t Expiry()                 const { return mExpiry; }        // in seconds
     inline int64_t LastAccessed()           const { return mLastAccessed; }  // in microseconds
     inline int64_t CreationTime()           const { return mCreationTime; }  // in microseconds
     inline bool IsSession()               const { return mIsSession; }
     inline bool IsDomain()                const { return *mHost == '.'; }
     inline bool IsSecure()                const { return mIsSecure; }
     inline bool IsHttpOnly()              const { return mIsHttpOnly; }
+    inline const OriginAttributes& OriginAttributesRef() const { return mOriginAttributes; }
 
     // setters
     inline void SetExpiry(int64_t aExpiry)        { mExpiry = aExpiry; }
     inline void SetLastAccessed(int64_t aTime)    { mLastAccessed = aTime; }
     inline void SetIsSession(bool aIsSession)     { mIsSession = aIsSession; }
     // Set the creation time manually, overriding the monotonicity checks in
     // Create(). Use with caution!
     inline void SetCreationTime(int64_t aTime)    { mCreationTime = aTime; }