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

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

Issue 10332255: Fix typos in field trial for low memory experiment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: upload after merge Created 8 years, 7 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
« no previous file with comments | « chrome/browser/chromeos/oom_priority_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/sad_tab_view.cc
diff --git a/chrome/browser/ui/views/sad_tab_view.cc b/chrome/browser/ui/views/sad_tab_view.cc
index a1e6d85554320b8b4c85acc5de09b0d904d5d519..bd4dd13a65e0313683f72efcace640626610d2bf 100644
--- a/chrome/browser/ui/views/sad_tab_view.cc
+++ b/chrome/browser/ui/views/sad_tab_view.cc
@@ -53,11 +53,13 @@ const int kMessageFontSizeDelta = 1;
const char kExperiment[] = "LowMemoryMargin";
#define EXPERIMENT_CUSTOM_COUNTS(name, sample, min, max, buckets) \
- UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, buckets); \
- if (base::FieldTrialList::TrialExists(kExperiment)) \
- UMA_HISTOGRAM_CUSTOM_COUNTS( \
- base::FieldTrial::MakeName(name, kExperiment), \
- sample, min, max, buckets);
+ { \
+ UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, buckets); \
+ if (base::FieldTrialList::TrialExists(kExperiment)) \
+ UMA_HISTOGRAM_CUSTOM_COUNTS( \
+ base::FieldTrial::MakeName(name, kExperiment), \
+ sample, min, max, buckets); \
+ }
} // namespace
« no previous file with comments | « chrome/browser/chromeos/oom_priority_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698