Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: chrome/browser/ui/cocoa/passwords/credential_item_button.mm

Issue 1922133002: Change 'const' -> 'constexpr' in cocoa/passwords. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/passwords/credential_item_button.mm
diff --git a/chrome/browser/ui/cocoa/passwords/credential_item_button.mm b/chrome/browser/ui/cocoa/passwords/credential_item_button.mm
index 656ef6781444f5c0cffd2511e048e572f0cb469e..8002f630cae14134bc5522b503e97b4ac5ffaedf 100644
--- a/chrome/browser/ui/cocoa/passwords/credential_item_button.mm
+++ b/chrome/browser/ui/cocoa/passwords/credential_item_button.mm
@@ -16,8 +16,8 @@
#include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
namespace {
-const CGFloat kFocusRingLineWidth = 2;
-const CGFloat kHorizontalPaddingBetweenAvatarAndLabel = 10;
+constexpr CGFloat kFocusRingLineWidth = 2;
+constexpr CGFloat kHorizontalPaddingBetweenAvatarAndLabel = 10;
} // namespace
// Custom button cell that adds a left padding before the avatar, and a custom

Powered by Google App Engine
This is Rietveld 408576698