Index: net/extras/sqlite/sqlite_persistent_cookie_store.cc |
diff --git a/net/extras/sqlite/sqlite_persistent_cookie_store.cc b/net/extras/sqlite/sqlite_persistent_cookie_store.cc |
index f0167a31a6ee2c95b0c4c29de3d7093946c544cc..9d93a645233e29b331d53c1cda4ea6ecbc40f2d8 100644 |
--- a/net/extras/sqlite/sqlite_persistent_cookie_store.cc |
+++ b/net/extras/sqlite/sqlite_persistent_cookie_store.cc |
@@ -832,7 +832,8 @@ void SQLitePersistentCookieStore::Backend::MakeCookiesFromSQLStatement( |
static_cast<DBCookiePriority>(smt.ColumnInt(13))))); // priority |
DLOG_IF(WARNING, cc->CreationDate() > Time::Now()) |
<< L"CreationDate too recent"; |
- cookies->push_back(std::move(cc)); |
+ if (cc->IsCanonical()) |
+ cookies->push_back(std::move(cc)); |
++num_cookies_read_; |
} |
} |