[go: nahoru, domu]

Make various const objects constexpr.

Bug: none
Change-Id: Ib8599d6272c8fbdf53ba8bc1ecf8b0ea97f2de05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4944312
Reviewed-by: Austin Sullivan <asully@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Giovanni Ortuno Urquidi <ortuno@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1210535}
diff --git a/net/extras/sqlite/sqlite_persistent_cookie_store.h b/net/extras/sqlite/sqlite_persistent_cookie_store.h
index e68b3a9..107c26c0 100644
--- a/net/extras/sqlite/sqlite_persistent_cookie_store.h
+++ b/net/extras/sqlite/sqlite_persistent_cookie_store.h
@@ -42,7 +42,7 @@
 
   // Port number to use for cookies whose source port is unknown at the time of
   // database migration to V13. The value -1 comes from url::PORT_UNSPECIFIED.
-  static const int kDefaultUnknownPort = -1;
+  static constexpr int kDefaultUnknownPort = -1;
 
   // All blocking database accesses will be performed on
   // |background_task_runner|, while |client_task_runner| is used to invoke