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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_view.cc

Issue 8609002: CrOs: Remove 16 exit time destructors and 11 static initializers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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/views/create_application_shortcut_view.cc
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index f7de50a5d14aae5fca41052b06cd9ff9617ad4db..60760848370ceda4d0fc3ebe6663eafe635e88a9 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -109,8 +109,8 @@ void AppInfoView::Init(const string16& title_text,
void AppInfoView::PrepareDescriptionLabel(const string16& description) {
DCHECK(!description.empty());
- static const size_t kMaxLength = 200;
- static const string16 kEllipsis(ASCIIToUTF16(" ... "));
+ const size_t kMaxLength = 200;
+ const string16 kEllipsis(ASCIIToUTF16(" ... "));
Ryan Sleevi 2011/11/20 23:10:49 Same here (const char16 ...[] = { ' ', '.', '.', '
Nico 2011/11/20 23:12:59 I doubt this is a hotspot.
string16 text = description;
if (text.length() > kMaxLength) {

Powered by Google App Engine
This is Rietveld 408576698