Index: chrome/browser/extensions/extension_cookies_helpers.cc |
diff --git a/chrome/browser/extensions/extension_cookies_helpers.cc b/chrome/browser/extensions/extension_cookies_helpers.cc |
index 42e2fae4ef6448413b2b6adaa3eb9253595fd1a1..418eb971e29448010215034db9bf57b88c9eba3a 100644 |
--- a/chrome/browser/extensions/extension_cookies_helpers.cc |
+++ b/chrome/browser/extensions/extension_cookies_helpers.cc |
@@ -59,8 +59,10 @@ DictionaryValue* CreateCookieValue( |
result->SetBoolean(keys::kSecureKey, cookie.IsSecure()); |
result->SetBoolean(keys::kHttpOnlyKey, cookie.IsHttpOnly()); |
result->SetBoolean(keys::kSessionKey, !cookie.DoesExpire()); |
- if (cookie.DoesExpire()) |
- result->SetReal(keys::kExpirationDateKey, cookie.ExpiryDate().ToDoubleT()); |
+ if (cookie.DoesExpire()) { |
+ result->SetDouble(keys::kExpirationDateKey, |
+ cookie.ExpiryDate().ToDoubleT()); |
+ } |
result->SetString(keys::kStoreIdKey, store_id); |
return result; |