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

Unified Diff: base/metrics/statistics_recorder_unittest.cc

Issue 1558633002: Cleanup: Remove double semicolons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert CP code to a while loop, fix nit Created 5 years 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 | « no previous file | base/process/launch_win.cc » ('j') | cloud_print/service/win/chrome_launcher.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/statistics_recorder_unittest.cc
diff --git a/base/metrics/statistics_recorder_unittest.cc b/base/metrics/statistics_recorder_unittest.cc
index f14d7138c6f304e1611ca5b47a3527976a646b40..af5c1e7bbc316c2d8cb9b90cb8cac9805217ce07 100644
--- a/base/metrics/statistics_recorder_unittest.cc
+++ b/base/metrics/statistics_recorder_unittest.cc
@@ -74,7 +74,7 @@ TEST_F(StatisticsRecorderTest, NotInitialized) {
DeleteHistogram(histogram);
// RegisterOrDeleteDuplicateRanges is a no-op.
- BucketRanges* ranges = new BucketRanges(3);;
+ BucketRanges* ranges = new BucketRanges(3);
ranges->ResetChecksum();
EXPECT_EQ(ranges,
StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges));
@@ -85,9 +85,9 @@ TEST_F(StatisticsRecorderTest, NotInitialized) {
TEST_F(StatisticsRecorderTest, RegisterBucketRanges) {
std::vector<const BucketRanges*> registered_ranges;
- BucketRanges* ranges1 = new BucketRanges(3);;
+ BucketRanges* ranges1 = new BucketRanges(3);
ranges1->ResetChecksum();
- BucketRanges* ranges2 = new BucketRanges(4);;
+ BucketRanges* ranges2 = new BucketRanges(4);
ranges2->ResetChecksum();
// Register new ranges.
@@ -111,7 +111,7 @@ TEST_F(StatisticsRecorderTest, RegisterBucketRanges) {
EXPECT_EQ(0, ranges1->range(2));
// Register ranges with same values.
- BucketRanges* ranges3 = new BucketRanges(3);;
+ BucketRanges* ranges3 = new BucketRanges(3);
ranges3->ResetChecksum();
EXPECT_EQ(ranges1, // returning ranges1
StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges3));
« no previous file with comments | « no previous file | base/process/launch_win.cc » ('j') | cloud_print/service/win/chrome_launcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698