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

Unified Diff: content/common/inter_process_time_ticks_converter.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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: content/common/inter_process_time_ticks_converter.h
diff --git a/content/common/inter_process_time_ticks_converter.h b/content/common/inter_process_time_ticks_converter.h
index 49a7c70b16f9405b16c42d7758bcf334b110686d..d7f166fc29c05b0e3bc5ea86ac2c3edb39a83f4e 100644
--- a/content/common/inter_process_time_ticks_converter.h
+++ b/content/common/inter_process_time_ticks_converter.h
@@ -80,7 +80,7 @@ class CONTENT_EXPORT LocalTimeDelta {
friend class InterProcessTimeTicksConverter;
friend class LocalTimeTicks;
- LocalTimeDelta(int value) : value_(value) {}
+ explicit LocalTimeDelta(int value) : value_(value) {}
int value_;
};
@@ -102,7 +102,7 @@ class CONTENT_EXPORT LocalTimeTicks {
private:
friend class InterProcessTimeTicksConverter;
- LocalTimeTicks(int64 value) : value_(value) {}
+ explicit LocalTimeTicks(int64 value) : value_(value) {}
int64 value_;
};
@@ -117,7 +117,7 @@ class CONTENT_EXPORT RemoteTimeDelta {
friend class InterProcessTimeTicksConverter;
friend class RemoteTimeTicks;
- RemoteTimeDelta(int value) : value_(value) {}
+ explicit RemoteTimeDelta(int value) : value_(value) {}
int value_;
};
@@ -135,7 +135,7 @@ class CONTENT_EXPORT RemoteTimeTicks {
private:
friend class InterProcessTimeTicksConverter;
- RemoteTimeTicks(int64 value) : value_(value) {}
+ explicit RemoteTimeTicks(int64 value) : value_(value) {}
int64 value_;
};
« no previous file with comments | « content/common/gpu/media/mac_video_decode_accelerator.mm ('k') | content/common/inter_process_time_ticks_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698