From ed0f2377178f261bf146b404e9a1dfc82daba40a Mon Sep 17 00:00:00 2001 From: "etienneb@chromium.org" Date: Wed, 20 Nov 2013 08:37:34 +0000 Subject: Fix multiples typos while reading histogram. R=isherman@chromium.org BUG= Review URL: https://codereview.chromium.org/76543002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236206 0039d316-1c4b-4281-b951-d872f2087c98 --- base/metrics/histogram.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'base') diff --git a/base/metrics/histogram.h b/base/metrics/histogram.h index f2566ca..9845362 100644 --- a/base/metrics/histogram.h +++ b/base/metrics/histogram.h @@ -23,7 +23,7 @@ // agree exactly in type, bucket size and range. // For Histogram and LinearHistogram, the maximum for a declared range should -// always be larger (not equal) than minmal range. Zero and +// always be larger (not equal) than minimal range. Zero and // HistogramBase::kSampleType_MAX are implicitly added as first and last ranges, // so the smallest legal bucket_count is 3. However CustomHistogram can have // bucket count as 2 (when you give a custom ranges vector containing only 1 @@ -96,7 +96,7 @@ class Lock; // process. // The following code is generally what a thread-safe static pointer -// initializaion looks like for a histogram (after a macro is expanded). This +// initialization looks like for a histogram (after a macro is expanded). This // sample is an expansion (with comments) of the code for // HISTOGRAM_CUSTOM_COUNTS(). @@ -107,7 +107,7 @@ class Lock; static base::subtle::AtomicWord atomic_histogram_pointer = 0; // Acquire_Load() ensures that we acquire visibility to the pointed-to data - // in the histogrom. + // in the histogram. base::Histogram* histogram_pointer(reinterpret_cast( base::subtle::Acquire_Load(&atomic_histogram_pointer))); @@ -421,7 +421,7 @@ class BASE_EXPORT Histogram : public HistogramBase { virtual int FindCorruption(const HistogramSamples& samples) const OVERRIDE; //---------------------------------------------------------------------------- - // Accessors for factory constuction, serialization and testing. + // Accessors for factory construction, serialization and testing. //---------------------------------------------------------------------------- Sample declared_min() const { return declared_min_; } Sample declared_max() const { return declared_max_; } @@ -604,7 +604,7 @@ class BASE_EXPORT LinearHistogram : public Histogram { static HistogramBase* DeserializeInfoImpl(PickleIterator* iter); // For some ranges, we store a printable description of a bucket range. - // If there is no desciption, then GetAsciiBucketRange() uses parent class + // If there is no description, then GetAsciiBucketRange() uses parent class // to provide a description. typedef std::map BucketDescriptionMap; BucketDescriptionMap bucket_description_; -- cgit v1.1